From c12e737a4f3bb78bf6b77c9b2bfd93610be2937f Mon Sep 17 00:00:00 2001 From: azahi Date: Wed, 4 Sep 2019 00:37:09 +0300 Subject: Bump 0.15.4 --- scripts/toggle-compton.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/toggle-compton.sh') diff --git a/scripts/toggle-compton.sh b/scripts/toggle-compton.sh index 91ebc4d..ee3c880 100755 --- a/scripts/toggle-compton.sh +++ b/scripts/toggle-compton.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -if [[ $(pgrep 'compton') ]] +if ! pgrep compton then - pkill "compton" -else compton -b --config "${XDG_CONFIG_HOME}/compton.conf" +else + pkill compton fi -- cgit 1.4.1