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 sxhkd & # Simple hotkey daemon
feh --randomize --bg-fill ~/Pictures/Wallpapers/.active & feh --randomize --bg-fill ~/Pictures/Wallpapers/.active &
if [[ $(pgrep polybar) ]]; then if [[ $(pgrep polybar) ]]; then
# Just covering bases here. Makes it easy to reload settings.
killall polybar killall polybar
fi fi
if [[ $(pgrep compton) ]]; then
killall compton
fi
compton&
$HOME/.config/polybar/start.sh & $HOME/.config/polybar/start.sh &

View File

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

View File

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