From 9139a1b136fa2b5adfcac0ac09a4f61aa1ee1ff4 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Wed, 4 Feb 2026 14:24:16 -0800 Subject: full reorg --- sway/toEmacs.sh | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 sway/toEmacs.sh (limited to 'sway/toEmacs.sh') diff --git a/sway/toEmacs.sh b/sway/toEmacs.sh deleted file mode 100755 index aacf2c1..0000000 --- a/sway/toEmacs.sh +++ /dev/null @@ -1,12 +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 -- cgit v1.2.3