]> gitweb.fluxo.info Git - scripts.git/commitdiff
Add a trailing space with the capslock indication
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Jun 2014 21:58:51 +0000 (18:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 23 Jun 2014 21:58:51 +0000 (18:58 -0300)
leds

diff --git a/leds b/leds
index 89c46c6fcc452503cc6d80145d1ababaa89dc113..22ff769f0a9328c5b0790edf80b23eb2a63eaee0 100755 (executable)
--- a/leds
+++ b/leds
@@ -8,7 +8,7 @@ ledstate="`xset q 2>/dev/null | grep LED`"
 ledstate="`echo $ledstate | sed s/[^1-9]//g`"
 case "$ledstate" in
         '1')
-        echo "[CapsLock]"
+        echo "[CapsLock] "
         ;;
         '2')
         # Right now we're not interested on NumLock status
@@ -18,7 +18,7 @@ case "$ledstate" in
         '3')
         # Right now we're not interested on NumLock status
         #echo "[CapsLock][NumLock]"
-        echo "[CapsLock]"
+        echo "[CapsLock] "
         ;;
         *)
         echo ""