diff --git a/apps/matugen/config.toml b/apps/matugen/config.toml index 2f3bb75..afda95b 100644 --- a/apps/matugen/config.toml +++ b/apps/matugen/config.toml @@ -24,6 +24,10 @@ output_path = "~/.config/starship.toml" input_path = "~/.config/matugen/templates/walker" output_path = "~/.config/walker/themes/nixos/style.css" +[templates.zathura] +input_path = "~/.config/matugen/templates/zathura" +output_path = "~/.config/zathura/zathura-matugen" + [templates.pywalfox] input_path = '~/.config/matugen/templates/firefox' output_path = '~/.cache/wal/colors.json' diff --git a/apps/matugen/default.nix b/apps/matugen/default.nix index d8807e8..12ca2e5 100644 --- a/apps/matugen/default.nix +++ b/apps/matugen/default.nix @@ -36,6 +36,7 @@ home.file.".config/matugen/templates/hyprlock".source = ./templates/hyprlock; home.file.".config/matugen/templates/starship".source = ./templates/starship; home.file.".config/matugen/templates/waybar".source = ./templates/waybar; + home.file.".config/matugen/templates/zathura".source = ./templates/zathura; home.file.".config/matugen/templates/vicinae".text = '' # Vicinae Matugen Theme Template diff --git a/apps/matugen/templates/zathura b/apps/matugen/templates/zathura new file mode 100644 index 0000000..bf7a7de --- /dev/null +++ b/apps/matugen/templates/zathura @@ -0,0 +1,41 @@ +set default-bg "#{{colors.surface.default.hex_stripped}}" +set default-fg "#{{colors.on_surface.default.hex_stripped}}" + +set statusbar-bg "#{{colors.surface_container.default.hex_stripped}}" +set statusbar-fg "#{{colors.on_surface.default.hex_stripped}}" + +set inputbar-bg "#{{colors.surface_container.default.hex_stripped}}" +set inputbar-fg "#{{colors.on_surface.default.hex_stripped}}" + +set notification-bg "#{{colors.surface_container_high.default.hex_stripped}}" +set notification-fg "#{{colors.on_surface.default.hex_stripped}}" + +set notification-error-bg "#{{colors.error.default.hex_stripped}}" +set notification-error-fg "#{{colors.on_error.default.hex_stripped}}" + +set notification-warning-bg "#{{colors.tertiary.default.hex_stripped}}" +set notification-warning-fg "#{{colors.on_tertiary.default.hex_stripped}}" + +set highlight-color "#{{colors.primary.default.hex_stripped}}" +set highlight-active-color "#{{colors.primary_container.default.hex_stripped}}" + +set completion-bg "#{{colors.surface_container.default.hex_stripped}}" +set completion-fg "#{{colors.on_surface.default.hex_stripped}}" + +set completion-group-bg "#{{colors.surface_container.default.hex_stripped}}" +set completion-group-fg "#{{colors.on_surface.default.hex_stripped}}" + +set completion-highlight-bg "#{{colors.primary.default.hex_stripped}}" +set completion-highlight-fg "#{{colors.on_primary.default.hex_stripped}}" + +set index-bg "#{{colors.surface.default.hex_stripped}}" +set index-fg "#{{colors.on_surface.default.hex_stripped}}" + +set index-active-bg "#{{colors.surface_container.default.hex_stripped}}" +set index-active-fg "#{{colors.on_surface.default.hex_stripped}}" + +set render-loading-bg "#{{colors.surface.default.hex_stripped}}" +set render-loading-fg "#{{colors.on_surface.default.hex_stripped}}" + +set recolor-lightcolor "#{{colors.surface.default.hex_stripped}}" +set recolor-darkcolor "#{{colors.on_surface.default.hex_stripped}}" diff --git a/apps/zathura/default.nix b/apps/zathura/default.nix new file mode 100644 index 0000000..99912f2 --- /dev/null +++ b/apps/zathura/default.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: +{ + programs.zathura = { + enable = true; + options = { + selection-clipboard = "clipboard"; + adjust-open = "best-fit"; + pages-per-row = 1; + scroll-page-aware = "true"; + scroll-full-overlap = "0.01"; + scroll-step = 100; + zoom-min = 10; + recolor = true; + }; + extraConfig = "include zathura-matugen"; + }; + + xdg.mimeApps = { + enable = true; + defaultApplications = { + "application/pdf" = "org.pwmt.zathura.desktop"; + }; + }; +} diff --git a/modules/home/apps.nix b/modules/home/apps.nix index b5e838e..448f981 100644 --- a/modules/home/apps.nix +++ b/modules/home/apps.nix @@ -3,6 +3,7 @@ ../../apps/yazi ../../apps/firefox ../../apps/imv + ../../apps/zathura ../../apps/mpv ../../apps/mako # ../../apps/starship