Skip to content

Commit

Permalink
Add sxiv support
Browse files Browse the repository at this point in the history
  • Loading branch information
dwarfmaster committed Mar 25, 2023
1 parent 45f8562 commit 34e5b7d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions modules/sxiv/hm.nix
Original file line number Diff line number Diff line change
@@ -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}";
};
};
};
}

0 comments on commit 34e5b7d

Please sign in to comment.