2 lines
116 B
Bash
2 lines
116 B
Bash
|
swaymsg -t get_outputs -p | grep Output | cut -d ' ' -f 3- | sort | awk '{print NR-1 $s}' | grep focused | cut -c 1
|