fix(daemon): prevent duplicate processes

This commit is contained in:
doryan 2025-02-16 18:42:40 +04:00
parent 294c06ee84
commit 7e4714d382

View File

@ -27,10 +27,11 @@ bspc config focused_border_color "#93D4C5"
pgrep -x polybar > /dev/null || polybar &
pgrep -x sxhkd > /dev/null || sxhkd &
pgrep -x xidlehook > /dev/null || xidlehook --not-when-fullscreen --not-when-audio --timer 300 'betterlockscreen -l' '' --timer 1200 'sudo zzz' '' &
pgrep -x xmousepasteblock > /dev/null || xmousepasteblock &
pgrep -x syndaemon > /dev/null || syndaemon -d -i 0.5 &
xmousepasteblock &
xsetroot -cursor_name left_ptr
picom &
feh --bg-fill ~/.bg/bg_5.png &
dunst &
pgrep -x xidlehook > /dev/null/ || xidlehook --not-when-fullscreen --not-when-audio --timer 30 'betterlockscreen -l' '' --timer 360 'sudo zzz' ''