bspcomp (256B)
1 #!/usr/bin/env bash 2 3 # Terminate if compton is already running 4 killall -q compton 5 6 # Wait until the processes have been shut down 7 while pgrep -u $UID -x compton >/dev/null; do sleep 1; done 8 9 # Launch compton 10 compton --config ~/.config/bspwm/compton.conf &