X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fi3%2Ffiles%2Fxprofile.jinja;h=e5aa42f06225ba50ecf4ea46e73bb4af71140127;hb=415e957f4d9f6b6659d80e2e02fc68babfa02e4a;hp=aaa2f4f25b833d4799a1b7b000ff8f0edf09783e;hpb=3297a85324095e26ff475ce54f7fc40daccacb2d;p=max%2Fsaltfiles.git diff --git a/states/i3/files/xprofile.jinja b/states/i3/files/xprofile.jinja index aaa2f4f..e5aa42f 100755 --- a/states/i3/files/xprofile.jinja +++ b/states/i3/files/xprofile.jinja @@ -1,9 +1,6 @@ #!/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 @@ -21,14 +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 DVI-D-0 --mode 1920x1080 --pos 0x540 - xrandr --output DP-2 --mode 3840x2160 --pos 1920x0 - xrandr --output DP-2 --primary + xrandr --output DP-0 --mode 2560x1440 --pos 0x0 + xrandr --output DP-2 --mode 3840x2160 --pos 2560x0 + xrandr --output DP-0 --primary ;; *) ;; @@ -37,7 +34,7 @@ esac # Set java font option export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on" -feh --bg-scale ~/Pictures/background_1080_1.png& +nitrogen --restore & xset -b