monitor swapping scripts

This commit is contained in:
2025-12-20 22:56:25 -06:00
parent 924eecc497
commit aa2cdc134e
5 changed files with 19 additions and 16 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
monitor=$(hyprctl monitors -j | jq -r 'first(.[] | select(.focused == false) | .name)')
hyprctl dispatch focusmonitor $monitor