X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fi3%2Ffiles%2Fxprofile.jinja;h=aea5c9a20c0786e6d9667093e4df1557c31f8a91;hb=8a1f4ad81527dfeacf0178629c76e6531f92eede;hp=ad5fcbdddaeecd794bf9ee12e6aa13e81d38ad0e;hpb=6ef4a05ef19db67f8058bb6ac240c56aa516a19d;p=max%2Fsaltfiles.git diff --git a/states/i3/files/xprofile.jinja b/states/i3/files/xprofile.jinja index ad5fcbd..aea5c9a 100755 --- a/states/i3/files/xprofile.jinja +++ b/states/i3/files/xprofile.jinja @@ -1,14 +1,14 @@ #!/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-colemak_us + layout-qwerty_gb + ;; + dubnium) + layout-qwerty_gb ;; *) layout-colemak_gb @@ -18,9 +18,14 @@ 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 + xrandr --output DP-2 --mode 3840x2160 --pos 2560x0 --rate 30 + xrandr --output DP-1 --mode 2560x1440 --pos 0x360 + #xrandr --output eDP-1 --off + ;; + dubnium) + xrandr --output DP-0 --mode 2560x1440 --pos 0x0 + xrandr --output DP-2 --mode 3840x2160 --pos 2560x0 + xrandr --output DP-0 --primary ;; *) ;; @@ -31,8 +36,6 @@ export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" feh --bg-scale ~/Pictures/background_1080_1.png& -dunst& - xset -b export QT_QPA_PLATFORM="xcb"