1
Fork 0

Make zathura the default for opening pdf files

This commit is contained in:
prescientmoon 2024-09-18 09:28:18 +02:00
parent a94ba0499d
commit de5e4fe049
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
2 changed files with 7 additions and 3 deletions

View file

@ -87,9 +87,10 @@
home.shellAliases.pdf = "zathura --fork";
# Make zathura the default app for opening pdfs.
xdg.mimeApps.defaultApplications."application/pdf" = [ "org.pwmt.zathura.desktop" ];
# {{{ Persistence
satellite.persistence.at.state.apps.zathura.directories = [
"${config.xdg.dataHome}/zathura"
];
satellite.persistence.at.state.apps.zathura.directories = [ "${config.xdg.dataHome}/zathura" ];
# }}}
}

View file

@ -66,6 +66,9 @@ in
# Nicely reload system units when changing configs
systemd.user.startServices = lib.mkForce "sd-switch";
# Enable default application management
xdg.mimeApps.enable = true;
# Tell sops-nix to use ssh keys for decrypting secrets
sops.age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/id_ed25519" ];