{ config, lib, ... }: { config = lib.mkIf (!config.beeMods.windowManagers.mango.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}} dwm.selbgcolor : {{colors.surface_container.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_low.default.hex}} st.background: {{colors.surface_container_low.default.hex}} dwm.normbgcolor : {{colors.surface_container_low.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_container_high.default.hex}} st.color1 : {{colors.error.default.hex}} st.color2 : {{colors.primary.default.hex}} st.color3 : {{colors.tertiary.default.hex}} st.color4 : {{colors.secondary.default.hex}} st.color5 : {{colors.primary_fixed.default.hex}} st.color6 : {{colors.secondary_fixed.default.hex}} st.color7 : {{colors.on_surface_variant.default.hex}} st.color8 : {{colors.outline.default.hex}} st.color9 : {{colors.error.default.hex | to_color | lighten: 10.0}} st.color10: {{colors.primary_container.default.hex}} st.color11: {{colors.tertiary_container.default.hex}} st.color12: {{colors.secondary_container.default.hex}} st.color13: {{colors.inverse_primary.default.hex}} st.color14: {{colors.outline_variant.default.hex}} st.color15: {{colors.on_surface.default.hex}} ''; }; }; }