summaryrefslogtreecommitdiff
path: root/.local/bin/comptoggle
blob: 259ba2d41340645203413bc390554a4b2f8b368a (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