updates and adding some things

This commit is contained in:
Chris Cochrun 2023-05-09 12:54:57 -05:00
parent dedabb9a15
commit 7b68408ad6
6 changed files with 39 additions and 6 deletions

View file

@ -22,12 +22,13 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
exit
else
echo WAYLAND
emacsrg=$(wlrctl window list | rg emacs)
emacsrg=$(wlrctl window list | rg emacs | rg -v dired)
echo $emacsrg
emacswin=$(echo $emacsrg | sed 's/.*\: //')
echo $emacswin
exec wlrctl toplevel focus app_id:emacs
exec wlrctl toplevel focus title:"$emacswin"
exit
fi
fi