26 lines
405 B
Bash
Executable file
26 lines
405 B
Bash
Executable file
#!/bin/sh
|
|
|
|
start() {
|
|
if ! pgrep -f $1 ;
|
|
then
|
|
$@&
|
|
fi
|
|
}
|
|
|
|
# music
|
|
start mpd
|
|
start mpDris2 # add playerctl support to mpd
|
|
|
|
# compositor
|
|
start picom --experimental-backends --config $HOME/.config/awesome/theme/picom.conf
|
|
|
|
# auth
|
|
start /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
|
|
# load X colors
|
|
start xrdb $HOME/.Xresources
|
|
|
|
# network manager
|
|
start nm-applet
|
|
start optimus-manager-qt
|