dwt1--dotfiles/.config/awesome/scripts/compton-toggle.sh

8 lines
128 B
Bash
Executable File

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