summaryrefslogtreecommitdiff
path: root/dot-config/bspwm/scripts/bspcomp
blob: 5f27c57b277c08c45fac05e0b1419177f96282b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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