diff options
author | Joe <rrbo@proton.me> | 2023-02-03 10:41:05 +0100 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-02-03 10:41:05 +0100 |
commit | 4627b5b9dac58bd68c51390a4e286de17f3192ef (patch) | |
tree | cad2da58579bc1f808d957b359ec8c88beecadf2 /.local/bin/kb | |
parent | up (diff) | |
download | dotfiles-bsd-4627b5b9dac58bd68c51390a4e286de17f3192ef.tar.gz dotfiles-bsd-4627b5b9dac58bd68c51390a4e286de17f3192ef.tar.bz2 dotfiles-bsd-4627b5b9dac58bd68c51390a4e286de17f3192ef.tar.xz dotfiles-bsd-4627b5b9dac58bd68c51390a4e286de17f3192ef.tar.zst dotfiles-bsd-4627b5b9dac58bd68c51390a4e286de17f3192ef.zip |
up
Diffstat (limited to '.local/bin/kb')
-rwxr-xr-x | .local/bin/kb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/.local/bin/kb b/.local/bin/kb index fcf07f8..1c2090e 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -52,22 +52,6 @@ setxkbmap -option caps:none xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' xmodmap -e 'keycode 37 =' -notify-send -u low -t 2000 'kb' ' ThinkPad keyboard set' -# 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 -# xmodmap -e 'keycode 9 = Tab' -# xmodmap -e 'keycode 23 = Escape' -# xmodmap -e 'remove Lock = Caps_Lock' -# # xmodmap -e 'keycode 37 = Escape' -# fi -# else -# setxkbmap -option ctrl:swapcaps -# xmodmap -e 'keycode 9 = Tab' -# xmodmap -e 'keycode 23 = 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 +notify-send -u low -t 2000 'kb' ' Swapped Ctrl/Caps Lock and Esc/Tab' # vim: filetype=sh |