diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-21 23:27:57 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-21 23:27:57 +0000 |
commit | e491add639370ca2be459d407d08895d919bf99d (patch) | |
tree | 0024ce9ea4e9bee695eb4682cea400a95c7176f0 /src/usr/bin | |
parent | initial commit (diff) | |
parent | add bunch of things (diff) | |
download | keyboard-leds-trayicons-master.tar.gz keyboard-leds-trayicons-master.tar.bz2 keyboard-leds-trayicons-master.zip |
add bunch of things
Closes #2 and #1
See merge request bgstack15/keyboard-leds-trayicons!1
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 |