diff options
Diffstat (limited to '.local/bin/comptoggle')
-rwxr-xr-x | .local/bin/comptoggle | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.local/bin/comptoggle b/.local/bin/comptoggle new file mode 100755 index 0000000..c579fc7 --- /dev/null +++ b/.local/bin/comptoggle @@ -0,0 +1,8 @@ +#!/bin/sh + +if pgrep -x "picom" > /dev/null +then + killall picom +else + picom -b --config $HOME/.config/picom/picom.conf +fi |