diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-01-12 17:57:07 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-01-12 17:57:07 +0300 |
commit | fc3ece0b1a0ab6bca8d2e8ee44518981de2cfdd1 (patch) | |
tree | ce98e88cf767f0cc352ae07423aabfa47185e541 /scripts/toggle-compton.sh | |
parent | Happy New Year (diff) |
Minor fixes to keybinds and scripts
Diffstat (limited to 'scripts/toggle-compton.sh')
-rwxr-xr-x | scripts/toggle-compton.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/toggle-compton.sh b/scripts/toggle-compton.sh index 7c36b2f..e5a3aaa 100755 --- a/scripts/toggle-compton.sh +++ b/scripts/toggle-compton.sh @@ -1,8 +1,8 @@ #!/bin/sh -if ! pgrep compton +if ! pgrep compton > /dev/null 2>&1 then - compton -b --config "$XDG_CONFIG_HOME/compton.conf" + compton -b else pkill compton fi |