From: Silvio Rhatto Date: Mon, 23 Jun 2014 21:58:51 +0000 (-0300) Subject: Add a trailing space with the capslock indication X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=01833321390de009909a6ab50bab8692b64f5799;p=scripts.git Add a trailing space with the capslock indication --- diff --git a/leds b/leds index 89c46c6..22ff769 100755 --- 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 ""