dotfiles/picom/config/toggle.sh
2020-09-18 12:25:45 +08:00

10 lines
127 B
Bash
Executable File

#!/bin/bash
DIR=$(readlink -f $(dirname $0))
if pgrep -x picom > /dev/null; then
killall -q picom
else
$DIR/launch.sh
fi