1 2 3 4 5 6 7
#!/bin/sh if pgrep -x "picom" >/dev/null; then killall picom else picom -b --config "$HOME/.config/picom/picom.conf" fi