Explorar o código

Added an error message to the layout switcher

Samuel W. Flint %!s(int64=9) %!d(string=hai) anos
pai
achega
7a455a8c5b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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