Browse Source

Added an error message to the layout switcher

Samuel W. Flint 9 years ago
parent
commit
7a455a8c5b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      switch-layout

+ 2 - 0
switch-layout

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