test before setting keyboard lights
This commit is contained in:
parent
61de1a5f07
commit
3cb0f1c2df
1 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,9 @@
|
|||
#!/bin/zsh
|
||||
|
||||
# Keyboard lights
|
||||
[ -x "$(command -v g610-led)" ] && g610-led -a ff
|
||||
if ! type "g610-led" &> /dev/null; then
|
||||
[ -x "$(command -v g610-led)" ] && g610-led -a ff
|
||||
fi
|
||||
|
||||
# The way life should be
|
||||
export XKB_DEFAULT_OPTIONS=caps:escape
|
||||
|
|
Loading…
Add table
Reference in a new issue