Created
May 17, 2021 15:10
-
-
Save TerryFunggg/ba649e851c92a9b8b8cdff2663efb4f5 to your computer and use it in GitHub Desktop.
script that swap the esc key and capslock key
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remove Lock = Caps_Lock | |
keysym Escape = Caps_Lock | |
keysym Caps_Lock = Escape | |
add Lock = Caps_Lock | |
# usage | |
# xmodmap ~/.swapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment