[Emacs] Update autostart for EXWM

This commit is contained in:
Lucien Cartier-Tilet 2021-04-11 16:06:49 +02:00
parent 02d1d71b62
commit 1ad328df7f
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -30,9 +30,8 @@ of said command running.
#+NAME: autostart-table #+NAME: autostart-table
| Command | Arguments | Run once? | | Command | Arguments | Run once? |
|---------------+---------------------------------------+-----------| |---------------+---------------------------------------+-----------|
| ~xrdb~ | ~-merge ~/.Xresources~ | no | | ~xrdb~ | ~-merge $HOME/.Xresources~ | no |
| ~mpc~ | ~stop~ | no | | ~mpc~ | ~stop~ | no |
| ~xss-lock~ | ~plock~ | yes |
| ~set-screens~ | | no | | ~set-screens~ | | no |
| ~picom~ | | yes | | ~picom~ | | yes |
| ~pumopm~ | | yes | | ~pumopm~ | | yes |
@ -40,6 +39,7 @@ of said command running.
| ~nm-applet~ | | yes | | ~nm-applet~ | | yes |
| ~numlockx~ | ~on~ | yes | | ~numlockx~ | ~on~ | yes |
| ~xwallpaper~ | ~--zoom (cat $HOME/.cache/wallpaper)~ | no | | ~xwallpaper~ | ~--zoom (cat $HOME/.cache/wallpaper)~ | no |
# | ~xss-lock~ | ~plock~ | yes |
#+NAME: autostart-gen #+NAME: autostart-gen
#+BEGIN_SRC emacs-lisp :var table=autostart-table :cache yes #+BEGIN_SRC emacs-lisp :var table=autostart-table :cache yes
@ -58,9 +58,9 @@ of said command running.
"\n") "\n")
#+END_SRC #+END_SRC
#+RESULTS[db0a64491cfacdcecad8ad71beed0e6b48b5af06]: autostart-gen #+RESULTS[6bdde37274cbbcce2fcd7e86690ce9ce7f32c62f]: autostart-gen
: xrdb -merge $HOME/.Xresources &
: mpc stop & : mpc stop &
: pgrep -x xss-lock 2&>/dev/null || echo (xss-lock plock & && disown) 2&>/dev/null
: set-screens & : set-screens &
: pgrep -x picom 2&>/dev/null || echo (picom & && disown) 2&>/dev/null : pgrep -x picom 2&>/dev/null || echo (picom & && disown) 2&>/dev/null
: pgrep -x pumopm 2&>/dev/null || echo (pumopm & && disown) 2&>/dev/null : pgrep -x pumopm 2&>/dev/null || echo (pumopm & && disown) 2&>/dev/null