# Set keyboard layout
case $HOSTNAME in
barium)
- 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"
+ layout-colemak_us
;;
*)
- 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"
+ layout-colemak_gb
;;
esac