diff options
Diffstat (limited to 'src/usr/bin')
-rwxr-xr-x | src/usr/bin/keyboard-leds-trayicons (renamed from src/usr/bin/keyboard-leds-trayicons.sh) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usr/bin/keyboard-leds-trayicons.sh b/src/usr/bin/keyboard-leds-trayicons index 18ce82a..118a0a9 100755 --- a/src/usr/bin/keyboard-leds-trayicons.sh +++ b/src/usr/bin/keyboard-leds-trayicons @@ -14,7 +14,8 @@ # Improve: # provide way to change status of capslock by clicking the icon? # Dependencies: -# binaries: mktrayicon, awk, xset +# raw: mktrayicon, awk, xset +# devuan: mktrayicon, mawk | gawk, x11-xserver-utils # little c: https://visualpharm.com/free-icons/c%20letter-595b40b65ba036ed117d1027 # license for icons: Use for free, but link to [icons8](https://icons8.com/license) @@ -73,7 +74,7 @@ is_numlock_on() { # LOAD CONFIGS # order is important! The last one called gets precedence. # instead of simply dot-sourcing the conf file, pass it to get_conf which only applies new values, so this process's environment is preserved -for thisconf in "${KLT_GLOBAL_CONF}" "${KLT_USER_CONF}" "${KLT_CONF}" ; +for thisconf in "${KLT_CONF}" "${KLT_USER_CONF}" "${KLT_GLOBAL_CONF}" ; do test -r "${thisconf}" && get_conf "${thisconf}" done |