From 6ad4d3dfd32b569f9485d24f80a768ed3ca19e46 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Thu, 29 Jan 2026 00:47:07 -0500 Subject: improve init and sway --- scripts/open-emacs-project | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/open-emacs-project') diff --git a/scripts/open-emacs-project b/scripts/open-emacs-project index 23df773..f2e83ab 100755 --- a/scripts/open-emacs-project +++ b/scripts/open-emacs-project @@ -25,4 +25,4 @@ selected="${selected/\~/$HOME}" switch_to "$selected" # focus emacs -swaymsg [con_id="$(swaymsg -t get_tree | jq -r '.nodes[1].nodes[].nodes[] | .. | (.id|tostring) + " " + .name?' | grep -e "[0-9]* ." | grep Emacs | awk '{print $1}')"] focus +swaymsg [con_id="$(swaymsg -t get_tree | jq -r '.nodes[1].nodes[].nodes[] | .. | (.id|tostring) + " " + .app_id?' | grep emacs | awk '{print $1}')"] focus -- cgit v1.2.3