feat(apps): add zathura document viewer with matugen theming
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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}}"
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -3,6 +3,7 @@
|
||||
../../apps/yazi
|
||||
../../apps/firefox
|
||||
../../apps/imv
|
||||
../../apps/zathura
|
||||
../../apps/mpv
|
||||
../../apps/mako
|
||||
# ../../apps/starship
|
||||
|
||||
Reference in New Issue
Block a user