14 lines
280 B
Bash
Raw Normal View History

2021-01-09 17:30:42 +00:00
#!/usr/bin/env bash
# https://github.com/jaagr/polybar/wiki/User-contributed-modules
#The command for starting compton
#always keep the -b argument!
if pgrep -x "picom" > /dev/null
then
killall picom
else
picom -CGb --experimental-backend --config ~/.config/i3/picom.conf
fi