diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2022-01-08 17:17:57 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2022-01-08 17:17:57 +0100 |
commit | 394bca4b8511ec5f41115e29f0dcebb4387771cc (patch) | |
tree | 5c12b5271c989321c64e032ad61e04dba1512898 /.local/bin | |
parent | kb script change (diff) | |
download | dotfiles-bsd-394bca4b8511ec5f41115e29f0dcebb4387771cc.tar.gz dotfiles-bsd-394bca4b8511ec5f41115e29f0dcebb4387771cc.tar.bz2 dotfiles-bsd-394bca4b8511ec5f41115e29f0dcebb4387771cc.tar.xz dotfiles-bsd-394bca4b8511ec5f41115e29f0dcebb4387771cc.tar.zst dotfiles-bsd-394bca4b8511ec5f41115e29f0dcebb4387771cc.zip |
Update
Diffstat (limited to '.local/bin')
-rwxr-xr-x | .local/bin/kb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index f2ea9f4..0a73c24 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -3,10 +3,10 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle setxkbmap -option caps:none +setxkbmap -option ctrl:swapcaps screens=$(xrandr | grep ' connected' | awk '{print $1}') if ! echo "$screens" | grep 'HDMI-1' >/dev/null 2>&1; then if ! echo "$screens" | grep 'VGA-1' >/dev/null 2>&1; then - setxkbmap -option ctrl:swapcaps xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' xmodmap -e 'remove Lock = Caps_Lock' @@ -15,7 +15,7 @@ if ! echo "$screens" | grep 'HDMI-1' >/dev/null 2>&1; then else xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' - xmodmap -e 'keycode 66 = Escape' + # xmodmap -e 'keycode 66 = Escape' fi mouse=$(xinput list | grep 'HARPOON' | awk '{print $10}' | sed 's/id=//') xinput --set-prop "$mouse" 'libinput Accel Speed' -0.40 |