diff options
Diffstat (limited to 'sway/switch.sh')
| -rwxr-xr-x | sway/switch.sh | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sway/switch.sh b/sway/switch.sh deleted file mode 100755 index 62751b8..0000000 --- a/sway/switch.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -a="$(swaymsg -t get_tree | jq '.. | objects | select(.type == "con") | select(.focused == true) | .marks | index("t") != null')" - -#echo $a -if [ $a = "true" ]; then - swaymsg '[con_mark="l"] focus' -else - swaymsg 'mark --add "l"; [con_mark="t"] focus' -fi - |
