diff --git a/dot_config/sway/config.tmpl b/dot_config/sway/config.tmpl index 810354f..caa658d 100644 --- a/dot_config/sway/config.tmpl +++ b/dot_config/sway/config.tmpl @@ -36,7 +36,7 @@ output * bg ~/.config/sway/od_arch.png fill output * bg ~/.config/sway/od_freebsd.png fill {{ end }} -{{- with .swayProfile }} +{{- with (index . "swayProfile") }} include ~/.config/sway/outputs.d/{{ . }}.conf {{- end }} # diff --git a/dot_config/waybar/config.tmpl b/dot_config/waybar/config.tmpl index 4cd0044..d34207f 100755 --- a/dot_config/waybar/config.tmpl +++ b/dot_config/waybar/config.tmpl @@ -9,7 +9,7 @@ { "include": ["~/.config/waybar/media.json"], "layer": "top", - {{- with .swayProfile }} + {{- with (index . "swayProfile") }} {{ include (printf "dot_config/waybar/outputs.d/%s.conf" .) }} {{- end }} "gtk-layer-shell": "true",