mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-10 03:36:44 +02:00
Remove xcape/xmodmap
This is no longer needed since I use sway now.
This commit is contained in:
parent
0662befeb2
commit
a69e5815c7
@ -1,12 +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
|
|
@ -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…
x
Reference in New Issue
Block a user