]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/sway/files/config.jinja
Manage lock and conky scripts
[max/saltfiles.git] / states / sway / files / config.jinja
index 786fb699967f2f06934c81f42ac38182188e7004..c5b6eb19f2ebf6c29e4517813c79ffa21e294e1e 100644 (file)
@@ -188,60 +188,6 @@ exec swayidle \
     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 %}