about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <[email protected]>2019-08-01 22:35:31 +0200
committerManuel Palenzuela <[email protected]>2019-08-01 22:35:31 +0200
commitfa31ee6eae937096bb16f71da68eedc1d0883c66 (patch)
tree0dd551ca33953b789822ddaccee8045b6f6b7971
parentFixed help message (diff)
downloadsmart-wallpaper-fa31ee6eae937096bb16f71da68eedc1d0883c66.tar.gz
smart-wallpaper-fa31ee6eae937096bb16f71da68eedc1d0883c66.tar.bz2
smart-wallpaper-fa31ee6eae937096bb16f71da68eedc1d0883c66.zip
Mini-refractored code
-rwxr-xr-xsmart-wallpaper4
1 files changed, 1 insertions, 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"