summaryrefslogtreecommitdiff
path: root/sway/switch.sh~
diff options
context:
space:
mode:
authortmu <t.man.atl.2012@gmail.com>2023-08-02 12:07:55 -0700
committertmu <t.man.atl.2012@gmail.com>2023-08-02 12:07:55 -0700
commit05d72eabc9e1f0daefe26be6f7c54f83f58d5f15 (patch)
tree229cbfa49468c011954242ca11b475b9d04cb362 /sway/switch.sh~
parentc2235d1850722932b7fb9dcf5907bbcc040bb29c (diff)
update. mostly emacs
Diffstat (limited to 'sway/switch.sh~')
-rwxr-xr-xsway/switch.sh~10
1 files changed, 0 insertions, 10 deletions
diff --git a/sway/switch.sh~ b/sway/switch.sh~
deleted file mode 100755
index ccd1bf7..0000000
--- a/sway/switch.sh~
+++ /dev/null
@@ -1,10 +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