diff --git a/templates/.config/niri/config.kdl b/templates/.config/niri/config.kdl index 0a86afa..441ebe0 100644 --- a/templates/.config/niri/config.kdl +++ b/templates/.config/niri/config.kdl @@ -192,6 +192,7 @@ spawn-at-startup "pipewire-pulse" spawn-at-startup "wireplumber" spawn-at-startup "waybar" spawn-at-startup "xwayland-satellite" ":12" +spawn-at-startup "wpaperd" environment { DISPLAY ":12" diff --git a/templates/.config/wpaperd/config.toml b/templates/.config/wpaperd/config.toml new file mode 100644 index 0000000..67ff0fd --- /dev/null +++ b/templates/.config/wpaperd/config.toml @@ -0,0 +1,7 @@ +% for output in host.get('outputs', []): +% if 'background' in output: +["${'any' if output['match'] == '*' else output['match']}"] +path = "${output['background'][0]}" +mode = "${output['background'][1].replace('fill', 'center')}" +%endif +% endfor