dotfiles/picom/config/toggle.sh

10 lines
127 B
Bash
Raw Normal View History

2020-09-17 16:02:24 +00:00
#!/bin/bash
DIR=$(readlink -f $(dirname $0))
if pgrep -x picom > /dev/null; then
killall -q picom
else
$DIR/launch.sh
fi