summaryrefslogtreecommitdiff
path: root/.local/bin/comptoggle
blob: 438ac329251848162f2baaecd9bb2dde7f908ef4 (plain)
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