diff options
| author | tmu <t.man.atl.2012@gmail.com> | 2023-08-02 12:07:55 -0700 |
|---|---|---|
| committer | tmu <t.man.atl.2012@gmail.com> | 2023-08-02 12:07:55 -0700 |
| commit | 05d72eabc9e1f0daefe26be6f7c54f83f58d5f15 (patch) | |
| tree | 229cbfa49468c011954242ca11b475b9d04cb362 /sway/toEmacs.sh~ | |
| parent | c2235d1850722932b7fb9dcf5907bbcc040bb29c (diff) | |
update. mostly emacs
Diffstat (limited to 'sway/toEmacs.sh~')
| -rwxr-xr-x | sway/toEmacs.sh~ | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sway/toEmacs.sh~ b/sway/toEmacs.sh~ deleted file mode 100755 index 30d1dc3..0000000 --- a/sway/toEmacs.sh~ +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -#get be to emacs and back - -f=$(swaymsg -t get_tree | jq '.. | objects | select(.focused) | .app_id') - -if [ $f = "emacs" ]; then - swaymsg '[con_mark="E"] focus' -else - swaymsg 'mark --add "E", [app_id="emacs"] focus' -fi |
