]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/i3/files/xprofile.jinja
aea5c9a20c0786e6d9667093e4df1557c31f8a91
[max/saltfiles.git] / states / i3 / files / xprofile.jinja
1 #!/bin/sh
2 # Load .Xresources
3 xrdb -merge ~/.Xresources &> /dev/null
4
5 # Set keyboard layout
6 case $HOSTNAME in
7   barium)
8     layout-qwerty_gb
9     ;;
10   dubnium)
11     layout-qwerty_gb
12     ;;
13   *)
14     layout-colemak_gb
15     ;;
16 esac
17
18 # Set screen layout
19 case $HOSTNAME in
20   barium)
21     xrandr --output DP-2 --mode 3840x2160 --pos 2560x0 --rate 30
22     xrandr --output DP-1 --mode 2560x1440 --pos 0x360
23     #xrandr --output eDP-1 --off
24     ;;
25   dubnium)
26     xrandr --output DP-0 --mode 2560x1440 --pos 0x0
27     xrandr --output DP-2 --mode 3840x2160 --pos 2560x0
28     xrandr --output DP-0 --primary
29     ;;
30   *)
31     ;;
32 esac
33
34 # Set java font option
35 export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
36
37 feh --bg-scale ~/Pictures/background_1080_1.png&
38
39 xset -b
40
41 export QT_QPA_PLATFORM="xcb"
42
43 # vim: set expandtab tabstop=2 smarttab: