diff options
Diffstat (limited to 'leds')
-rwxr-xr-x | leds | 25 |
1 files changed, 0 insertions, 25 deletions
@@ -1,25 +0,0 @@ -#! /bin/bash -# -# Get keyboard led state. -# See https://bbs.archlinux.org/viewtopic.php?id=68511 -# - -ledstate="`xset q 2>/dev/null | grep LED`" -ledstate="`echo $ledstate | sed s/[^1-9]//g`" -case "$ledstate" in - '1') - echo "[CapsLock] " - ;; - '2') - # Right now we're not interested on NumLock status - #echo "[NumLock]" - echo "" - ;; - '3') - # Right now we're not interested on NumLock status - #echo "[CapsLock][NumLock]" - echo "[CapsLock] " - ;; - *) - echo "" -esac |