diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-10 14:14:35 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-11-10 14:14:35 +0100 |
commit | 2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba (patch) | |
tree | 4cdb93ff131972b718add25d817e4e74864a3517 /.local/bin/kb | |
parent | swapped caps_lock / ctrl_l (diff) | |
download | dotfiles-bsd-2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba.tar.gz dotfiles-bsd-2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba.tar.bz2 dotfiles-bsd-2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba.tar.xz dotfiles-bsd-2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba.tar.zst dotfiles-bsd-2ca7c9cac2200cfdc08b01de4e5fbd0e07f3cfba.zip |
commit
Diffstat (limited to '')
-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 492bb29..41d3fda 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -4,8 +4,8 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle xmodmap -e "keycode 9 = Tab" xmodmap -e "keycode 23 = Escape" -if ! xrandr | grep 'HDMI-1 connected'; then - if ! xrandr | grep 'VGA-1 connected'; then +if ! xrandr | grep 'HDMI-1 connected' >/dev/null 2>&1; then + if ! xrandr | grep 'VGA-1 connected' >/dev/null 2>&1; then xmodmap -e "remove Lock = Caps_Lock" xmodmap -e "remove Control = Control_L" xmodmap -e "keysym Control_L = Caps_Lock" |