PDF viewer: evince -> zathura
This commit is contained in:
@@ -119,6 +119,7 @@
|
|||||||
./xdg-desktop-portal-wlr.nix
|
./xdg-desktop-portal-wlr.nix
|
||||||
./xdg-terminal-exec.nix
|
./xdg-terminal-exec.nix
|
||||||
./xdg-utils.nix
|
./xdg-utils.nix
|
||||||
|
./zathura.nix
|
||||||
./zeal.nix
|
./zeal.nix
|
||||||
./zecwallet-lite.nix
|
./zecwallet-lite.nix
|
||||||
./zsh
|
./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
|
"dialect" # language translation
|
||||||
"dino" # XMPP client
|
"dino" # XMPP client
|
||||||
# "emote"
|
# "emote"
|
||||||
"evince" # works on phosh
|
# "evince" # PDF viewer
|
||||||
# "flare-signal" # gtk4 signal client
|
# "flare-signal" # gtk4 signal client
|
||||||
# "foliate" # e-book reader
|
# "foliate" # e-book reader
|
||||||
"fractal" # matrix client
|
"fractal" # matrix client
|
||||||
@@ -105,6 +105,7 @@ in
|
|||||||
"vulkan-tools" # vulkaninfo
|
"vulkan-tools" # vulkaninfo
|
||||||
# "whalebird" # pleroma client (Electron). input is broken on phosh.
|
# "whalebird" # pleroma client (Electron). input is broken on phosh.
|
||||||
"xdg-terminal-exec"
|
"xdg-terminal-exec"
|
||||||
|
"zathura" # PDF/CBZ/ePUB viewer
|
||||||
];
|
];
|
||||||
|
|
||||||
sane.programs.handheldGuiApps = declPackageSet [
|
sane.programs.handheldGuiApps = declPackageSet [
|
||||||
|
Reference in New Issue
Block a user