home/programs/media: add zathura

This commit is contained in:
Anthony Rodriguez 2024-10-07 18:35:29 +02:00
parent 5a9b20ae35
commit 962a5beda6
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 26 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{pkgs, ...}: {
imports = [./zathura.nix];
programs.mpv.enable = true;
home.packages = [
pkgs.gnome-calculator

View file

@ -0,0 +1,25 @@
{pkgs, ...}: {
programs.zathura = {
enable = true;
options = {
font = "Inter 12";
selection-notification = true;
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";
};
extraConfig = "include catppuccin-frappe";
};
xdg.configFile = {
"zathura/catppuccin-frappe".source = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-frappe";
hash = "sha256-xdWI/Ai3iE0zRF/9DCxILKmVaNWbfqHm7Xeh6eKM3MY=";
};
};
}