[Bin] Better autostart
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
386fe3962e
commit
37406daca9
@ -68,13 +68,12 @@ of said command running.
|
|||||||
"fi")
|
"fi")
|
||||||
command
|
command
|
||||||
command
|
command
|
||||||
command
|
|
||||||
full-command))))))
|
full-command))))))
|
||||||
table
|
table
|
||||||
"\n")
|
"\n")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+RESULTS[64fcf7c33f989171bc7582495cd508959f4030c3]: autostart-gen
|
#+RESULTS[df901bd50f82a683a738efd18f4aa650eff4b222]: autostart-gen
|
||||||
#+begin_src bash :exports code
|
#+begin_src bash :exports code
|
||||||
which pactl && pactl load-module module-switch-on-connect &
|
which pactl && pactl load-module module-switch-on-connect &
|
||||||
which mpc && mpc stop &
|
which mpc && mpc stop &
|
||||||
@ -82,51 +81,51 @@ which xrdb && xrdb -merge "$HOME"/.Xresources &
|
|||||||
which picom && if pgrep -x picom ; then
|
which picom && if pgrep -x picom ; then
|
||||||
echo picom already running
|
echo picom already running
|
||||||
else
|
else
|
||||||
picom
|
picom --experimental-backends &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which set-screens && set-screens &
|
which set-screens && set-screens &
|
||||||
which numlockx && if pgrep -x numlockx ; then
|
which numlockx && if pgrep -x numlockx ; then
|
||||||
echo numlockx already running
|
echo numlockx already running
|
||||||
else
|
else
|
||||||
numlockx
|
numlockx on &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which pumopm && if pgrep -x pumopm ; then
|
which pumopm && if pgrep -x pumopm ; then
|
||||||
echo pumopm already running
|
echo pumopm already running
|
||||||
else
|
else
|
||||||
pumopm
|
pumopm &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which xfce-polkit && if pgrep -x xfce-polkit ; then
|
which xfce-polkit && if pgrep -x xfce-polkit ; then
|
||||||
echo xfce-polkit already running
|
echo xfce-polkit already running
|
||||||
else
|
else
|
||||||
xfce-polkit
|
xfce-polkit &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which nm-applet && if pgrep -x nm-applet ; then
|
which nm-applet && if pgrep -x nm-applet ; then
|
||||||
echo nm-applet already running
|
echo nm-applet already running
|
||||||
else
|
else
|
||||||
nm-applet
|
nm-applet &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which xwallpaper && xwallpaper --zoom "$(cat "$HOME"/.cache/wallpaper)" &
|
which xwallpaper && xwallpaper --zoom "$(cat "$HOME"/.cache/wallpaper)" &
|
||||||
which xss-lock && if pgrep -x xss-lock ; then
|
which xss-lock && if pgrep -x xss-lock ; then
|
||||||
echo xss-lock already running
|
echo xss-lock already running
|
||||||
else
|
else
|
||||||
xss-lock
|
xss-lock plock &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which /usr/lib/kdeconnectd && if pgrep -x /usr/lib/kdeconnectd ; then
|
which /usr/lib/kdeconnectd && if pgrep -x /usr/lib/kdeconnectd ; then
|
||||||
echo /usr/lib/kdeconnectd already running
|
echo /usr/lib/kdeconnectd already running
|
||||||
else
|
else
|
||||||
/usr/lib/kdeconnectd
|
/usr/lib/kdeconnectd &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
which dunst && if pgrep -x dunst ; then
|
which dunst && if pgrep -x dunst ; then
|
||||||
echo dunst already running
|
echo dunst already running
|
||||||
else
|
else
|
||||||
dunst
|
dunst &
|
||||||
disown
|
disown
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Loading…
Reference in New Issue
Block a user