forked from extern/nix-config
meta: Remove xcape and xmodmap
These are obsolete technologies that are no longer needed thanks to dual-function-keys, which I'll add in a future commit. This also fixes an issue where left control would behave like an escape key when tapped, which caused a lot of accidental escapes.
This commit is contained in:
parent
323bf99af5
commit
19efc3f94c
@ -29,12 +29,6 @@ bspc config gapless_monocle true
|
||||
# while moving the mouse, similar to i3
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
# Make caps lock work as ctrl
|
||||
xmodmap ~/.xmodmap
|
||||
|
||||
# Make caps lock (left ctrl) work as escape
|
||||
xcape -e 'Control_L=Escape'
|
||||
|
||||
# Change the default X shaped cursor to a pointer
|
||||
xsetroot -cursor_name left_ptr
|
||||
|
||||
|
@ -1,16 +0,0 @@
|
||||
! New Start: A modern Arch workflow built with an emphasis on functionality.
|
||||
! Copyright (C) 2017-2018 Donovan Glover
|
||||
|
||||
! Clear both the caps lock and control keys
|
||||
clear lock
|
||||
clear control
|
||||
|
||||
! Set the caps lock key to Control_L
|
||||
keycode 66 = Control_L
|
||||
|
||||
! Reassign the control command to the caps lock and control keys respectively
|
||||
add control = Caps_Lock Control_L Control_R
|
||||
|
||||
! Change the print screen key to a right super, so we don't have to worry
|
||||
! about certain key combinations being impossible to use with one hand.
|
||||
keycode 107 = Super_R
|
@ -1,23 +0,0 @@
|
||||
# xmodmap
|
||||
|
||||
[xmodmap][xmodmap] is used to change the functionality of keys on your keyboard.
|
||||
|
||||
## Use Cases
|
||||
|
||||
xmodmap can be used to:
|
||||
|
||||
- Make Caps Lock function as Ctrl when held down
|
||||
- Used with [xcape][xcape] to make Caps Lock function as Escape when pressed
|
||||
|
||||
You should not use xmodmap if:
|
||||
|
||||
- You do not need to modify keys
|
||||
|
||||
## Usage
|
||||
|
||||
Run `xmodmap ~/.xmodmap` in one of your init scripts to make Caps Lock function as Ctrl when held down.
|
||||
|
||||
Then, use `xcape -e 'Control_L=Escape'` to make Caps Lock (left Ctrl) function as Escape when pressed.
|
||||
|
||||
[xmodmap]: https://wiki.archlinux.org/index.php/Xmodmap
|
||||
[xcape]: https://github.com/alols/xcape
|
Loading…
Reference in New Issue
Block a user