nixos/home/common/optional/desktop/dwm/xresources.nix

22 lines
668 B
Nix

{ config, ... }:
{
home.file.".Xresources" = {
recursive = true;
text = ''
!st terminal
st.alpha: 0.8
*.font: monospace:pixelsize=21:antialias=true:autohint=true;
*.font2: NotoColorEmoji:pixelsize=19:antialias=true:autohint=true;
! dwm
dwm.borderpx: 3
dwm.col_base00: #${config.colorScheme.colors.base00}
dwm.col_base03: #${config.colorScheme.colors.base03}
dwm.col_base04: #${config.colorScheme.colors.base04}
dwm.col_base05: #${config.colorScheme.colors.base05}
dwm.col_base08: #${config.colorScheme.colors.base08}
dwm.col_base0B: #${config.colorScheme.colors.base0B}
'';
};
}