mirror of
https://github.com/danth/stylix
synced 2024-11-10 14:44:16 +00:00
Add zathura support
This commit is contained in:
parent
547fe3ef65
commit
45f856230b
1 changed files with 37 additions and 0 deletions
37
modules/zathura/hm.nix
Normal file
37
modules/zathura/hm.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
let
|
||||
colors = config.lib.stylix.colors;
|
||||
in {
|
||||
options.stylix.targets.zathura.enable =
|
||||
config.lib.stylix.mkEnableTarget "Zathura" true;
|
||||
|
||||
config = lib.mkIf config.stylix.targets.zathura.enable {
|
||||
# Taken from here:
|
||||
# https://github.com/doenerkebap/base16-zathura
|
||||
programs.zathura.options = {
|
||||
default-bg = "#${colors.base00}";
|
||||
default-fg = "#${colors.base01}";
|
||||
statusbar-fg = "#${colors.base04}";
|
||||
statusbar-bg = "#${colors.base02}";
|
||||
inputbar-bg = "#${colors.base00}";
|
||||
inputbar-fg = "#${colors.base07}";
|
||||
notification-bg = "#${colors.base00}";
|
||||
notification-fg = "#${colors.base07}";
|
||||
notification-error-bg = "#${colors.base00}";
|
||||
notification-error-fg = "#${colors.base08}";
|
||||
notification-warning-bg = "#${colors.base00}";
|
||||
notification-warning-fg = "#${colors.base08}";
|
||||
highlight-color = "#${colors.base0A}";
|
||||
highlight-active-color = "#${colors.base0D}";
|
||||
completion-bg = "#${colors.base01}";
|
||||
completion-fg = "#${colors.base0D}";
|
||||
completion-highlight-fg = "#${colors.base07}";
|
||||
completion-highlight-bg = "#${colors.base0D}";
|
||||
recolor-lightcolor = "#${colors.base00}";
|
||||
recolor-darkcolor = "#${colors.base06}";
|
||||
recolor = false;
|
||||
recolor-keephue = false;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue