diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-17 14:52:46 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-17 14:52:46 -0400 |
commit | b690c975dd84c6ee9595dfd667e37622504568a8 (patch) | |
tree | 0024ce9ea4e9bee695eb4682cea400a95c7176f0 /src/usr/bin | |
parent | initial commit (diff) | |
download | keyboard-leds-trayicons-b690c975dd84c6ee9595dfd667e37622504568a8.tar.gz keyboard-leds-trayicons-b690c975dd84c6ee9595dfd667e37622504568a8.tar.bz2 keyboard-leds-trayicons-b690c975dd84c6ee9595dfd667e37622504568a8.zip |
add bunch of things
fix #1 add desktop file and xdg autostart file
fix #2 add Makefile
use make deplist
move readme to src/.../doc
add man pages
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 |