Json – Why Does 'grep' Change Text Format in Swaymsg Output?
I'm using swaymsg -t get_inputs | grep to filter input device information, but I've noticed that grep is altering the text format. Using grep: $ swaymsg -t get_inputs | grep -i touch "identifier": "2:7:SynPS/2_Synaptics_TouchPad", "name": "SynPS/2 Synaptics TouchPad", "type": "touchpad",…