summaryrefslogtreecommitdiff
path: root/.local/bin/comptoggle
diff options
context:
space:
mode:
authoradam <56338480+adastx@users.noreply.github.com>2022-10-10 01:20:33 +0200
committeradam <56338480+adastx@users.noreply.github.com>2022-10-10 01:20:33 +0200
commit0375f1c658571190d1b26ac8c12dac1b3ff8821e (patch)
treeb83f1fcc7f49b2d1a1a6d37988400b6b437c00e6 /.local/bin/comptoggle
parent9d1ef47d9757260631f96c879b02c0221e188648 (diff)
scripts: cleanup
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