diff options
author | stuebinm | 2023-04-18 18:32:25 +0200 |
---|---|---|
committer | stuebinm | 2023-04-18 18:32:25 +0200 |
commit | 87fc4df35070a0bf5f1524cf081128b51d56dad8 (patch) | |
tree | 3ed445523843ba5258572c39ad62c1982a483b2a /home/home.nix | |
parent | 674517730ad3b7c52fd4d8a14cf4891a42e209a5 (diff) |
home: proper xdg-open behaviour for pdfs
Diffstat (limited to '')
-rw-r--r-- | home/home.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/home/home.nix b/home/home.nix index e972a46..2648638 100644 --- a/home/home.nix +++ b/home/home.nix @@ -15,6 +15,12 @@ _JAVA_AWT_WM_NONREPARENTING = 1; }; + xdg.mimeApps = { + enable = true; + associations.added."application/pdf" = [ "org.pwmt.zathura.desktop" ]; + defaultApplications."application/pdf" = [ "org.pwmt.zathura.desktop" ]; + }; + programs.msmtp.enable = true; programs.mbsync.enable = true; programs.mu.enable = true; |