PDF viewer: evince -> zathura
This commit is contained in:
parent
cf86b4a67c
commit
bc0660b623
|
@ -119,6 +119,7 @@
|
|||
./xdg-desktop-portal-wlr.nix
|
||||
./xdg-terminal-exec.nix
|
||||
./xdg-utils.nix
|
||||
./zathura.nix
|
||||
./zeal.nix
|
||||
./zecwallet-lite.nix
|
||||
./zsh
|
||||
|
|
18
hosts/common/programs/zathura.nix
Normal file
18
hosts/common/programs/zathura.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ ... }:
|
||||
{
|
||||
sane.programs.zathura = {
|
||||
sandbox.method = "bwrap";
|
||||
sandbox.wrapperType = "inplace"; #< wrapper sets ZATHURA_PLUGINS_PATH to $out/lib/...
|
||||
sandbox.whitelistDri = true;
|
||||
sandbox.whitelistWayland = true;
|
||||
sandbox.autodetectCliPaths = "existingFile";
|
||||
persist.byStore.plaintext = [
|
||||
# history, bookmarks
|
||||
".local/share/zathura"
|
||||
];
|
||||
|
||||
mime.associations."application/pdf" = "org.pwmt.zathura.desktop";
|
||||
mime.associations."application/vnd.comicbook+zip" = "org.pwmt.zathura.desktop"; # .cbz
|
||||
mime.associations."application/vnd.comicbook-rar" = "org.pwmt.zathura.desktop"; # .cbr
|
||||
};
|
||||
}
|
|
@ -60,7 +60,7 @@ in
|
|||
"dialect" # language translation
|
||||
"dino" # XMPP client
|
||||
# "emote"
|
||||
"evince" # works on phosh
|
||||
# "evince" # PDF viewer
|
||||
# "flare-signal" # gtk4 signal client
|
||||
# "foliate" # e-book reader
|
||||
"fractal" # matrix client
|
||||
|
@ -105,6 +105,7 @@ in
|
|||
"vulkan-tools" # vulkaninfo
|
||||
# "whalebird" # pleroma client (Electron). input is broken on phosh.
|
||||
"xdg-terminal-exec"
|
||||
"zathura" # PDF/CBZ/ePUB viewer
|
||||
];
|
||||
|
||||
sane.programs.handheldGuiApps = declPackageSet [
|
||||
|
|
Loading…
Reference in New Issue
Block a user