10 lines
329 B
Bash
Executable File
10 lines
329 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Because of my regular non american laptop onboard keyboard layout and american externals one this is my hack to use both for dedicated device.
|
|
|
|
ids=$(xinput | grep "SEMICO USB Keyboard" | grep "keyboard" | cut -d '=' -f 2 | cut -f 1)
|
|
|
|
for id in $ids; do
|
|
setxkbmap -device $id -layout us -option caps:escape
|
|
done
|