Explorar el Código

Add Xmodmap for caps to control

Andrew Swistak hace 11 años
padre
commit
061b7d7e68
Se han modificado 2 ficheros con 14 adiciones y 0 borrados
  1. 13 0
      Xmodmap
  2. 1 0
      bin/manage_dotfiles.sh

+ 13 - 0
Xmodmap

@@ -0,0 +1,13 @@
+! Swap Alt and Super (CMD on Mac)
+remove Mod4 = Super_L
+remove Mod1 = Alt_L
+keysym Alt_L = Super_L
+keysym Super_L = Alt_L
+add Mod4 = Super_L
+add Mod1 = Alt_L
+
+! Make Caps behave like Control
+keycode 66 = Control_L
+clear Lock
+add Control = Control_L
+

+ 1 - 0
bin/manage_dotfiles.sh

@@ -56,6 +56,7 @@ install_dotfiles() {
     'vimrc'
     'xinitrc'
     'zshrc'
+    'Xmodmap'
     'config/conky'
     'config/openbox'
     'config/tint2'