{ config, lib, ... }: { config = lib.mkIf config.beeMods.windowManagers.dwm.enable { xdg.configFile."matugen/templates/colors-xresources" = { text = '' dwm.normbordercolor : {{colors.outline.default.hex}} dwm.normfgcolor : {{colors.on_surface.default.hex}} dwm.selbordercolor : {{colors.primary.default.hex}} dwm.selfgcolor : {{colors.primary.default.hex}} dmenu.foreground : {{colors.on_surface.default.hex}} dmenu.selbackground : {{colors.primary.default.hex}} dmenu.selforeground : {{colors.on_primary.default.hex}} <* if {{ is_dark_mode }} *> dmenu.background : {{colors.background.default.hex}} st.background: {{colors.surface.default.hex}} dwm.normbgcolor : {{colors.surface.default.hex}} dwm.selbgcolor : {{colors.surface_container.default.hex}} <* else *> dmenu.background : {{colors.surface_container.default.hex}} st.background: {{colors.surface_container.default.hex}} dwm.normbgcolor : {{colors.surface_container.default.hex}} dwm.selbgcolor : {{colors.secondary_fixed.default.hex}} <* endif *> st.foreground: {{colors.on_surface.default.hex}} st.cursorColor: {{colors.primary.default.hex}} st.color0 : {{colors.surface_variant.default.hex}} st.color1 : {{colors.error.default.hex}} st.color2 : {{colors.primary.default.hex}} st.color3 : {{colors.secondary.default.hex}} st.color4 : {{colors.tertiary.default.hex}} st.color5 : {{colors.primary_fixed_dim.default.hex}} st.color6 : {{colors.secondary_fixed_dim.default.hex}} st.color7 : {{colors.on_surface.default.hex}} st.color8 : {{colors.on_surface_variant.default.hex}} st.color9 : {{colors.error.default.hex}} st.color10: {{colors.primary.default.hex}} st.color11: {{colors.secondary.default.hex}} st.color12: {{colors.tertiary.default.hex}} st.color13: {{colors.primary_fixed_dim.default.hex}} st.color14: {{colors.secondary_fixed_dim.default.hex}} st.color15: {{colors.on_surface.default.hex}} ''; }; }; }