From 5b3208e772c995e55169cb1ab3c1ac11696a5fff Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 5 Feb 2018 14:21:40 -0600 Subject: [PATCH] bspwm: Make starting the compositor the WM's job I mean, it makes sense. It also allows for quick reloading of Compton, too --- .config/bspwm/bspwmrc | 5 ++++- .config/compton.conf | 2 +- .config/i3/kdestartup.sh | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 546ccbc4..0275d729 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -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 & diff --git a/.config/compton.conf b/.config/compton.conf index feda2727..7b88e916 100644 --- a/.config/compton.conf +++ b/.config/compton.conf @@ -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. diff --git a/.config/i3/kdestartup.sh b/.config/i3/kdestartup.sh index 6d6c364f..8b4901d5 100755 --- a/.config/i3/kdestartup.sh +++ b/.config/i3/kdestartup.sh @@ -5,7 +5,6 @@ killall krunner & killall xembedsniproxy & feh --randomize --bg-fill ~/Pictures/Wallpapers/i3 & -compton & dunst & redshift &