diff --git a/modules/sxiv/hm.nix b/modules/sxiv/hm.nix new file mode 100644 index 00000000..44c8294f --- /dev/null +++ b/modules/sxiv/hm.nix @@ -0,0 +1,19 @@ +{ config, lib, ... }: + +let + colors = config.lib.stylix.colors; + fonts = config.stylix.fonts; +in { + options.stylix.targets.sxiv.enable = + config.lib.stylix.mkEnableTarget "Sxiv" true; + + config = lib.mkIf config.stylix.targets.sxiv.enable { + xresources = { + properties = { + "Sxiv.foreground" = "#${colors.base01}"; + "Sxiv.background" = "#${colors.base04}"; + "Sxiv.font" = "${fonts.sansSerif.name}-${toString fonts.sizes.applications}"; + }; + }; + }; +}