about summary refs log tree commit diff
path: root/configs/linux
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-02-27T17·11+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-02-27T17·11+0000
commitbabd7393d5804ffdaae1976426c9afb5ee89930e (patch)
tree65c25dcff9af7ea96b99c7700d2c0aeef79d9eb9 /configs/linux
parenta62f2e581a8655182c92eb864b6788540bff1584 (diff)
Support Xmodmap, xinit -> x_server
Prefer x_server to xinit as it's more general.
Diffstat (limited to 'configs/linux')
-rw-r--r--configs/linux/x_server/.Xmodmap7
-rw-r--r--configs/linux/x_server/.xinitrc2
-rw-r--r--configs/linux/xinit/.xinitrc1
3 files changed, 9 insertions, 1 deletions
diff --git a/configs/linux/x_server/.Xmodmap b/configs/linux/x_server/.Xmodmap
new file mode 100644
index 000000000000..518793b86705
--- /dev/null
+++ b/configs/linux/x_server/.Xmodmap
@@ -0,0 +1,7 @@
+! 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/linux/x_server/.xinitrc b/configs/linux/x_server/.xinitrc
new file mode 100644
index 000000000000..6622e8c5f68f
--- /dev/null
+++ b/configs/linux/x_server/.xinitrc
@@ -0,0 +1,2 @@
+! Load keybindings
+xmodmap ~/.Xmodmap
diff --git a/configs/linux/xinit/.xinitrc b/configs/linux/xinit/.xinitrc
deleted file mode 100644
index ef0cff44c3ca..000000000000
--- a/configs/linux/xinit/.xinitrc
+++ /dev/null
@@ -1 +0,0 @@
-xrdb ~/.Xresources