diff options
author | William Carroll <wpcarro@gmail.com> | 2020-03-10T22·04+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-03-10T23·07+0000 |
commit | ad77311c94224fcb039995b2e5941ff399e83c8e (patch) | |
tree | c05b7b5030696e8ec22535b980cef080e8ee6afc | |
parent | b6a803d99d06523543cbd4a9a8155c5f5baf3e92 (diff) |
Configure keyboard preference with home-manager
Preferring home-manager to reduce some of the clutter I've created.
-rw-r--r-- | configs/.Xmodmap | 7 | ||||
-rw-r--r-- | configs/.config/nixpkgs/home.nix | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/configs/.Xmodmap b/configs/.Xmodmap deleted file mode 100644 index 518793b86705..000000000000 --- a/configs/.Xmodmap +++ /dev/null @@ -1,7 +0,0 @@ -! remap caps-lock to escape -remove Lock = Caps_Lock -keysym Caps_Lock = Escape - -! swap ctrl and super (similar to OSX) -- currently not working -! remove mod4 = Super_L -! add control = Super_L diff --git a/configs/.config/nixpkgs/home.nix b/configs/.config/nixpkgs/home.nix index 76dce2f21b2b..840483556573 100644 --- a/configs/.config/nixpkgs/home.nix +++ b/configs/.config/nixpkgs/home.nix @@ -15,6 +15,13 @@ jq pup ]; + keyboard = { + options = [ + # Swap Caps-Lock and Escape + "remove Lock = Caps_Lock" + "keysym Caps_Lock = Escape" + ]; + }; sessionVariables = { }; stateVersion = "19.09"; |