dotfiles/picom/config/toggle.sh

10 lines
125 B
Bash
Executable File

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