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:
Salt 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 &

View File

@ -56,7 +56,7 @@ glx-swap-method = "undefined";
#################################
# Enabled client-side shadows on windows.
shadow = false;
shadow = true;
# Don't draw shadows on DND windows.
no-dnd-shadow = true;
# Avoid drawing shadows on dock/panel windows.

View File

@ -5,7 +5,6 @@ killall krunner &
killall xembedsniproxy &
feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 &
compton &
dunst &
redshift &