diff options
Diffstat (limited to 'dot-config/bspwm/scripts/bspcomp')
| -rwxr-xr-x | dot-config/bspwm/scripts/bspcomp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dot-config/bspwm/scripts/bspcomp b/dot-config/bspwm/scripts/bspcomp new file mode 100755 index 00000000..5f27c57b --- /dev/null +++ b/dot-config/bspwm/scripts/bspcomp @@ -0,0 +1,13 @@ +#!/usr/bin/bash + +# bspwm directory +DIR="$HOME/.config" + +# Terminate if picom is already running +killall -q picom + +# Wait until the processes have been shut down +while pgrep -u $UID -x picom >/dev/null; do sleep 1; done + +# Launch picom +picom --config "$DIR"/picom.conf -b --show-all-xerrors & # --use-damage --animation-clamping --vsync -blur-background-fixed --blur-background --blur-background-frame |
