# Set keyboard layout
case $HOSTNAME in
- 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"
- ;;
- iridium)
- 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"
- ;;
- *)
+ palladium|platinum|iridium)
+ 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
# Set screen layout
# Battery monitoring
case $HOSTNAME in
- palladium)
- xbattmon&
- ;;
- iridium)
- ~/.local/bin/bat_mgt.sh&
- ;;
- *)
+ palladium)
+ xbattmon&
+ ;;
+ iridium|platinum)
+ ~/.local/bin/bat_mgt.sh&
+ ;;
+ *)
++ ;;
esac
cat ~/.ratpoisonrc.base ~/.ratpoisonrc.$HOSTNAME > ~/.ratpoisonrc