diff options
-rwxr-xr-x | .scripts/kbesccaps | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.scripts/kbesccaps b/.scripts/kbesccaps index c426f82..d4978d6 100755 --- a/.scripts/kbesccaps +++ b/.scripts/kbesccaps @@ -6,5 +6,5 @@ #PreRequisite lsusb/usbutils [ -z "command -v lsusb" ] && echo "Install usbutils" && exit +[[ 'lsusb | grep -e 04f3:152e -e 25a7:fa67' ]] && setxkbmap -option caps:escape -[ -n 'lsusb | grep "04f3:152e"' ] && setxkbmap -option caps:escape |