resetting a few small things?
This commit is contained in:
parent
54218677ff
commit
f1349e79f1
8 changed files with 40 additions and 34 deletions
|
@ -4,7 +4,7 @@
|
|||
if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
||||
echo hi
|
||||
|
||||
if [ "$XDG_SESSION_TYPE" == "x11" ]; then
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
#X11
|
||||
emacsrg=$(wmctrl -lx | rg emacs.Emacs | rg -v org-agenda | awk '{print $1}')
|
||||
echo $emacsrg
|
||||
|
@ -17,7 +17,7 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then
|
|||
exit
|
||||
fi
|
||||
else
|
||||
if [ "$KDE_FULL_SESSION" == "true" ]; then
|
||||
if [ "$KDE_FULL_SESSION" = "true" ]; then
|
||||
exec /home/chris/bin/ww -fa Emacs -c emacsclient
|
||||
exit
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue