home/programs/media: add zathura
This commit is contained in:
parent
5a9b20ae35
commit
962a5beda6
2 changed files with 26 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [./zathura.nix];
|
||||
programs.mpv.enable = true;
|
||||
home.packages = [
|
||||
pkgs.gnome-calculator
|
||||
|
|
25
home/programs/media/zathura.nix
Normal file
25
home/programs/media/zathura.nix
Normal 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=";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue