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

8 lines
115 B
Bash
Executable File

#!/bin/bash
if pgrep -x "picom" > /dev/null
then
killall picom
else
picom -b --config ~/.config/i3/picom.conf
fi