iso-profiles/mabox-pl/desktop-overlay/usr/bin/compton_toggle

10 lines
160 B
Bash
Executable File

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