dotfiles/suckless/config/dwm/autostart

36 lines
723 B
Plaintext
Raw Normal View History

#!/bin/sh
2020-04-27 06:47:36 +00:00
2020-09-17 16:02:24 +00:00
# start compositor daemon
2020-04-27 06:47:36 +00:00
$HOME/.config/picom/launch.sh
2020-09-17 16:02:24 +00:00
# start desktop notification daemon
$HOME/.config/dunst/launch.sh
# start dwmbar daemon
$HOME/.config/dwm/statusbar
2020-04-27 06:47:36 +00:00
# disable screen saver / turn off monitor if inactived for 300 secs
xset s off
xset dpms 300 300 300
2020-04-27 06:47:36 +00:00
killall xss-lock
2020-10-31 03:55:05 +00:00
xss-lock $(which slock) &
2020-04-27 06:47:36 +00:00
# start network applet
pgrep -x nm-applet || nm-applet &
# start bluetooth applet
2020-10-31 03:55:05 +00:00
which blueman-applet && ! pgrep -x blueman-applet || blueman-applet &
2020-04-27 06:47:36 +00:00
# start screenshot tool
2020-10-31 03:55:05 +00:00
which flameshot && ! pgrep -x flameshot && flameshot &
2020-04-27 06:47:36 +00:00
# start input method
pgrep -x ibus-daemon || ibus-daemon -drx &
# restart wallpaper
nitrogen --restore
# start nextcloud
2020-10-31 03:55:05 +00:00
pgrep -x nextcloud || nextcloud &