dotfiles/scripts/killcompton

10 lines
114 B
Plaintext

2021-10-19 13:12:01 +07:00
#!/bin/sh
compton=$(ps aux | grep -w "picom")
if [ "$compton" != "" ]
then
killall compton
else
compton -cC
fi