mirror of
https://github.com/danth/stylix
synced 2024-11-25 13:40:22 +00:00
Add sxiv support
This commit is contained in:
parent
45f856230b
commit
34e5b7df61
1 changed files with 19 additions and 0 deletions
19
modules/sxiv/hm.nix
Normal file
19
modules/sxiv/hm.nix
Normal file
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue