From fa31ee6eae937096bb16f71da68eedc1d0883c66 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Thu, 1 Aug 2019 22:35:31 +0200 Subject: Mini-refractored code --- smart-wallpaper | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/smart-wallpaper b/smart-wallpaper index 4de7073..10f14e5 100755 --- a/smart-wallpaper +++ b/smart-wallpaper @@ -98,9 +98,7 @@ do checktime - if [ $timebool == true ]; then - : - else + if [ $timebool == false ]; then if [ "$location" != "" ]; then if redshift -l $location -p | grep -i -q "day"; then currenttime="day" -- cgit 1.4.1