#!/bin/sh # Load .Xresources xrdb -merge ~/.Xresources &> /dev/null if [ -f ~/.Xresources.$HOSTNAME ]; then xrdb -merge ~/.Xresources.$HOSTNAME &> /dev/null fi # Set keyboard layout case $HOSTNAME in barium) layout-qwerty_gb ;; dubnium) layout-qwerty_gb ;; *) layout-colemak_gb ;; esac # Set screen layout case $HOSTNAME in barium) xrandr --output DP-1 --mode 1920x1080 --pos 0x540 xrandr --output HDMI-1 --mode 3840x2160 --pos 1920x0 xrandr --output eDP-1 --mode 1920x1080 --pos 0x540 ;; dubnium) xrandr --output DVI-D-0 --mode 1920x1080 --pos 0x540 xrandr --output DP-2 --mode 3840x2160 --pos 1920x0 xrandr --output DP-2 --primary ;; *) ;; esac # Set java font option export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" feh --bg-scale ~/Pictures/background_1080_1.png& xset -b export QT_QPA_PLATFORM="xcb" # vim: set expandtab tabstop=2 smarttab: