updates and adding some things
This commit is contained in:
parent
dedabb9a15
commit
7b68408ad6
6 changed files with 39 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue