diff --git a/configs/shell/profile b/configs/shell/profile index 06ef4e4..86aa111 100644 --- a/configs/shell/profile +++ b/configs/shell/profile @@ -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