dotfiles/picom/config/toggle.sh

10 lines
125 B
Bash
Raw Normal View History

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