updating EVERYTHING for arch again

This commit is contained in:
Chris Cochrun 2022-06-23 12:17:54 -05:00
parent 270b92d0c2
commit d0ef589a39
20 changed files with 120 additions and 74 deletions

View file

@ -9,15 +9,15 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
# echo $emacsrg
if [ -z $emacsrg ]; then
emacsclient -c &
exec emacsclient -c &
exit
else
wmctrl -ia $emacsrg
exec wmctrl -ia $emacsrg
exit
fi
else
if [ $KDE_FULL_SESSION = "true" ]; then
/home/chris/bin/ww -fa Emacs -c emacsclient
exec /home/chris/bin/ww -fa Emacs -c emacsclient
exit
else
# WAYLAND
@ -26,11 +26,11 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
emacswin=$(echo $emacsrg | sed 's/.*\: //')
# echo $emacswin
wlrctl toplevel focus title:"$emacswin"
exec wlrctl toplevel focus title:"$emacswin"
exit
fi
fi
else
emacsclient -c &
exec emacsclient -c &
fi