diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2026-01-29 00:47:07 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2026-01-29 00:47:07 -0500 |
| commit | 6ad4d3dfd32b569f9485d24f80a768ed3ca19e46 (patch) | |
| tree | 6d0c6f671a87abc73a429df2344e9799eb57737c /scripts/open-emacs-project | |
| parent | f8778e805f014602a1bd4de287dcaf9585b2b1ee (diff) | |
improve init and sway
Diffstat (limited to 'scripts/open-emacs-project')
| -rwxr-xr-x | scripts/open-emacs-project | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
