dotfiles/.config/i3/scripts/picom-toggle.sh

8 lines
115 B
Bash
Raw Normal View History

2022-02-20 15:45:28 +00:00
#!/bin/bash
if pgrep -x "picom" > /dev/null
then
killall picom
else
picom -b --config ~/.config/i3/picom.conf
fi