From fc3ece0b1a0ab6bca8d2e8ee44518981de2cfdd1 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sun, 12 Jan 2020 17:57:07 +0300 Subject: Minor fixes to keybinds and scripts --- scripts/toggle-redshift.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/toggle-redshift.sh') diff --git a/scripts/toggle-redshift.sh b/scripts/toggle-redshift.sh index bd70f60..2813aea 100755 --- a/scripts/toggle-redshift.sh +++ b/scripts/toggle-redshift.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -if ! pgrep redshift +if ! pgrep redshift > /dev/null 2>&1 then - redshift -c "$XDG_CONFIG_HOME/redshift.conf" & + redshift & disown redshift else pkill redshift -- cgit 1.4.1