bindsym $mod+p mode "resize"
+# Slight gaps around windows
+gaps inner 6
+
+{% if host == 'barium' %}
bar {
id bar_left
position top
}
}
-# Slight gaps around windows
-gaps inner 6
-
workspace 2 output HDMI-A-1
workspace 4 output HDMI-A-1
workspace 1 output DP-1
exec "termite --name 'music' -e 'tmux'"
exec "zoom"
+{% elif host == 'dubnium' %}
+bar {
+ id bar_left
+ position top
+ output "DVI-D-1"
+ font pango:Liberation Mono 12
+ colors {
+ background $black_super
+ focused_background $black
+ focused_workspace $black_super $yellow_super $black
+ active_workspace $black_super $blue_super $black
+ inactive_workspace $black_super $black_super $white_super
+ urgent_workspace $black $red_super $white
+ separator $white
+ }
+}
+
+bar {
+ id bar_right
+ status_command ~/.local/bin/conky-i3bar
+ position top
+ output "DP-1"
+ font pango:Liberation Mono 12
+ colors {
+ background $black_super
+ focused_background $black
+ focused_workspace $black_super $yellow_super $black
+ active_workspace $black_super $blue_super $black
+ inactive_workspace $black_super $black_super $white_super
+ urgent_workspace $black $red_super $white
+ separator $white
+ }
+}
+
+workspace 1 output DVI-D-1
+workspace 2 output DP-1
+{% endif %}
exec mako
exec picom -i 0.95 -D 4
barium)
layout-colemak_us
;;
+ dubnium)
+ setxkbmap -variant colemak us
+ xmodmap -e "keycode 66 = Control_L Control_L Control_L Control_L"
+ xmodmap -e "keycode 135 = Control_R Control_R Control_R Control_R"
+ xmodmap -e "add Control = Control_L Control_R"
+ ;;
*)
layout-colemak_gb
;;
xrandr --output HDMI-1 --mode 3840x2160 --pos 1920x0
xrandr --output eDP-1 --mode 1920x1080 --pos 0x540
;;
+ dubnium)
+ xrandr --output DVI-D-1 --mode 1920x1080 --pos 0x540
+ xrandr --output DP-1 --mode 3840x2160 --pos 1920x0
+ ;;
*)
;;
esac
feh --bg-scale ~/Pictures/background_1080_1.png&
-dunst&
-
xset -b
export QT_QPA_PLATFORM="xcb"
- user: {{ grains['user'] }}
- group: {{ grains['user'] }}
- mode: 750
+
+xprofile config:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.xprofile
+ - source: salt://i3/files/xprofile.jinja
+ - template: jinja
+ - user: {{ grains['user']}}
+ - group: {{ grains['user']}}
+ - mode: 640
+
+xinitrc config:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.xinitrc
+ - source: salt://i3/files/xinitrc.jinja
+ - template: jinja
+ - user: {{ grains['user']}}
+ - group: {{ grains['user']}}
+ - mode: 640