Quellcode durchsuchen

Add Xmodmap for caps to control

Andrew Swistak vor 11 Jahren
Ursprung
Commit
061b7d7e68
2 geänderte Dateien mit 14 neuen und 0 gelöschten Zeilen
  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'