xmodmap: Change layout and disable xcape
Change layout so that instead of rebinding caps_lock, escape and ctrl_r in a circle, the caps_lock key now just emulates escape. Caps_lock can now be accessed by pressing both Shifts together. Because of that xcape is disabled for now too. Not sure if I will keep it this way. Caps_lock is now triggered on every shift for a very small time too, that is why the caps_lock binding is removed from the i3 config.
This commit is contained in:
@@ -1,16 +1,9 @@
|
||||
! Bind Caps_Lock on Escape key, Ctrl_R on Caps_Lock key and Escape on Control_R
|
||||
! The Caps_Lock key is also used for Escape through xcape
|
||||
remove Control = Control_R
|
||||
! Bind Caps_Lock to Escape
|
||||
remove Lock = Caps_Lock
|
||||
|
||||
keycode 9 =
|
||||
keycode 9 = Caps_Lock
|
||||
|
||||
keycode 66 =
|
||||
keycode 66 = Control_R
|
||||
keycode 66 = Escape
|
||||
|
||||
keycode 105 =
|
||||
keycode 105 = Escape
|
||||
|
||||
add Control = Control_R
|
||||
add Lock = Caps_Lock
|
||||
! Bind both Shift keys together to Caps_Lock
|
||||
keycode 50 = Shift_L Caps_Lock
|
||||
keycode 62 = Shift_R Caps_Lock
|
||||
|
||||
@@ -153,7 +153,6 @@ mode "resize" {
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym Return mode "default"
|
||||
bindsym Caps_Lock mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user