]> git.friedersdorff.com Git - max/dotfiles.git/commitdiff
Use US keyboard layout for beryllium
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 14 Nov 2016 09:48:05 +0000 (09:48 +0000)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 14 Nov 2016 09:48:05 +0000 (09:48 +0000)
X/.xinitrc

index a031825e5dcc5703b8da221fef55f1fa27537748..6890bf2bf95fb149794fe9d3022e146a0092228d 100644 (file)
@@ -21,12 +21,18 @@ fi
 
 # Set keyboard layout
 case $HOSTNAME in
-    palladium|beryllium)
+    palladium)
        setxkbmap -variant colemak gb
        xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L"
        xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R"
        xmodmap -e "add Control = Control_L Control_R"
        ;;
+    beryllium)
+       setxkbmap -variant colemak us
+       xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L"
+       xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R"
+       xmodmap -e "add Control = Control_L Control_R"
+       ;;
     *)
 esac