mabox-tools/bin/compton_toggle

11 lines
151 B
Bash
Executable File

#!/bin/bash
if [ `pidof picom` ]; then
echo "Stopping picom"
killall picom
else
echo "Starting picom"
picom &
fi
exit