]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/i3/files/xprofile.jinja
Set curser accel
[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   baryte)
26     xrandr --output DP-3 --mode 2560x1440 --pos 0x360
27     xrandr --output HDMI-1 --mode 3840x2160 --pos 2560x0 --rate 60
28     xrandr --output eDP-1 --off
29     ;;
30   dubnium)
31     xrandr --output DP-0 --mode 2560x1440 --pos 0x0
32     xrandr --output DP-2 --mode 3840x2160 --pos 2560x0
33     xrandr --output DP-0 --primary
34     ;;
35   *)
36     ;;
37 esac
38
39 # Set java font option
40 export _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=on"
41
42 nitrogen --restore &
43
44 xset -b
45
46 export QT_QPA_PLATFORM="xcb"
47
48 export TERMINAL="kitty"
49
50 # vim: set expandtab tabstop=2 smarttab: