summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-11-08 15:13:04 +0100
committerJulian T <julian@jtle.dk>2021-11-08 15:13:04 +0100
commit01415b0f6297b06fa0ef0a1ab24dcf1382285ac0 (patch)
treeab4ed447c09c763b6ca39c7171096d263a6a178e
parentf5ea3b45280d3cacf1803ab448e81a73079f5748 (diff)
Remap alt to super, and \ to alt. I3 uses super as main mod
-rw-r--r--i3/.config/i3/config2
-rw-r--r--xinit/.Xmodmap5
2 files changed, 6 insertions, 1 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 76f27bd..db8ba4c 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -13,7 +13,7 @@
gaps inner 10
smart_gaps on
-set $mod Mod1
+set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
diff --git a/xinit/.Xmodmap b/xinit/.Xmodmap
index 89d617a..26a7912 100644
--- a/xinit/.Xmodmap
+++ b/xinit/.Xmodmap
@@ -2,3 +2,8 @@ clear lock
clear control
keycode 66 = Control_R
add control = Control_R Control_L
+
+remove mod1 = Alt_L
+keycode 64 = Super_L
+
+keycode 94 = Alt_L