dotfiles/config/picom/toggle.fish
2020-04-27 14:47:36 +08:00

9 lines
144 B
Fish
Executable File

#!/usr/bin/env fish
if pgrep -x picom > /dev/null
killall -q picom
else
set dir (dirname (status --current-filename))
$dir/launch.sh
end