resume 'swaymsg "output * dpms on" \
before-sleep "lock.{{ host }}"
-# Magnesium specific section
-{% if host == 'magnesium' %}
-bar {
- id bar_left
- status_command conky-i3bar
- position top
- output "HDMI-A-3"
- font pango:Liberation Mono 10
- 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
- }
-}
-
-bar {
- id bar_right
- position top
- output "HDMI-A-2"
- font pango:Liberation Mono 10
- 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
- }
-}
-
-
-workspace 1 output HDMI-A-3
-workspace 2 output HDMI-A-2
-
-output HDMI-A-2 {
- position 0 1080
- background ~/Pictures/background_1080_1.png fit
-}
-
-output HDMI-A-3 {
- position 0 0
- background ~/Pictures/background_1080_2.png fit
-}
-
-
-
-font pango:Liberation Mono 8
-
-input 1241:36:HOLDCHIP_USB_Keyboard {
- xkb_layout us
- xkb_variant colemak
- xkb_options ctrl:nocaps
-}
-{% endif %}
+# host specific section
+{%- do salt.log.error('sway/files/' + host) -%}
+{% include 'sway/files/' + host %}
--- /dev/null
+# Start i3bar to display a workspace bar (plus the system information i3status
+# finds out, if available)
+bar {
+ id bar_left
+ status_command conky-i3bar
+ position top
+ output "HDMI-A-3"
+ font pango:Liberation Mono 10
+ 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
+ }
+}
+
+bar {
+ id bar_right
+ position top
+ output "HDMI-A-2"
+ font pango:Liberation Mono 10
+ 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
+ }
+}
+
+
+workspace 1 output HDMI-A-3
+workspace 2 output HDMI-A-2
+
+output HDMI-A-2 {
+ position 0 1080
+ background ~/Pictures/background_1080_1.png fit
+}
+
+output HDMI-A-3 {
+ position 0 0
+ background ~/Pictures/background_1080_2.png fit
+}
+
+
+
+font pango:Liberation Mono 8
+
+input 1241:36:HOLDCHIP_USB_Keyboard {
+ xkb_layout us
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
--- /dev/null
+# Start i3bar to display a workspace bar (plus the system information i3status
+# finds out, if available)
+bar {
+ id bar_left
+ status_command conky-i3bar
+ position top
+ 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
+ }
+}
+
+font pango:Liberation Mono 10
+
+output eDP-1 {
+ scale 2
+ position 0 0
+ background ~/Pictures/background_1800.png center
+}
+
+output HDMI-A-2 {
+ scale 1
+ position 3200 0
+ background ~/Pictures/background_1440.png fill
+}
+
+input * {
+ xkb_layout gb
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
--- /dev/null
+# Start i3bar to display a workspace bar (plus the system information i3status
+# finds out, if available)
+bar {
+ id bar_left
+ status_command conky-i3bar
+ position top
+ font pango:Liberation Mono 10
+ 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
+ }
+}
+
+font pango:Liberation Mono 8
+
+set $mod Mod1
+
+output DP-1 background ~/Pictures/background.png center
+output DP-1 scale 2