Parcourir la source

Added an error message to the layout switcher

Samuel W. Flint il y a 9 ans
Parent
commit
7a455a8c5b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      switch-layout

+ 2 - 0
switch-layout

@@ -23,5 +23,7 @@ case ${LAYOUT} in
             [[ -e ~/.screenlayout/${LAYOUT}.sh-after ]] && \
                 sh ~/.screenlayout/${LAYOUT}.sh-after
             echo Switched to ${LAYOUT} layout
+        else
+            echo "${LAYOUT} not available"
         fi
 esac