bspwm: Make starting the compositor the WM's job

I mean, it makes sense. It also allows for quick reloading of Compton, too
This commit is contained in:
2018-02-05 14:21:40 -06:00
parent 5a75ac0a41
commit 5b3208e772
3 changed files with 5 additions and 3 deletions

View File

@@ -75,8 +75,11 @@ xset s off
sxhkd & # Simple hotkey daemon
feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
if [[ $(pgrep polybar) ]]; then
# Just covering bases here. Makes it easy to reload settings.
killall polybar
fi
if [[ $(pgrep compton) ]]; then
killall compton
fi
compton&
$HOME/.config/polybar/start.sh &