summaryrefslogtreecommitdiff
path: root/.local/bin/comptoggle
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/comptoggle')
-rwxr-xr-x.local/bin/comptoggle3
1 files changed, 1 insertions, 2 deletions
diff --git a/.local/bin/comptoggle b/.local/bin/comptoggle
index c579fc7..259ba2d 100755
--- a/.local/bin/comptoggle
+++ b/.local/bin/comptoggle
@@ -1,7 +1,6 @@
#!/bin/sh
-if pgrep -x "picom" > /dev/null
-then
+if pgrep -x "picom" > /dev/null; then
killall picom
else
picom -b --config $HOME/.config/picom/picom.conf