os/arch/.xprofile: check presence before starting daemons
This commit is contained in:
parent
ee5b105947
commit
820613170b
|
@ -12,16 +12,16 @@ xset m 11/8 0
|
||||||
# keyboard repeat rate
|
# keyboard repeat rate
|
||||||
xset r rate 350 45
|
xset r rate 350 45
|
||||||
|
|
||||||
sxhkd &
|
running sxhkd || sxhkd &
|
||||||
# lemonbar config depends on bspwm, so wait for it
|
# lemonbar config depends on bspwm, so wait for it
|
||||||
{
|
{
|
||||||
while ! running bspwm; do sleep 1; done
|
while ! running bspwm; do sleep 1; done
|
||||||
$HOME/.config/panel/panel 2>&1 >$HOME/.config/panel/panel.log &
|
$HOME/.config/panel/panel 2>&1 >$HOME/.config/panel/panel.log &
|
||||||
|
|
||||||
# notifications
|
# notifications
|
||||||
dunst &
|
running dunst || dunst &
|
||||||
# window manager helpers
|
# window manager helpers
|
||||||
compton &
|
running compton || compton &
|
||||||
|
|
||||||
# If sxhkd isn't running, something is wrong and we're stuck. Instead, open
|
# If sxhkd isn't running, something is wrong and we're stuck. Instead, open
|
||||||
# a terminal so I can do something about it
|
# a terminal so I can do something about it
|
||||||
|
|
Loading…
Reference in a new issue