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 | |
parent | 674517730ad3b7c52fd4d8a14cf4891a42e209a5 (diff) |
home: proper xdg-open behaviour for pdfs
Diffstat (limited to 'home')
-rw-r--r-- | home/home.nix | 6 | ||||
-rw-r--r-- | home/packages.nix | 2 |
2 files changed, 7 insertions, 1 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; diff --git a/home/packages.nix b/home/packages.nix index d3d9f2f..dee9c97 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -22,7 +22,7 @@ in # general cli utils almanac libnotify grim slurp wl-clipboard showrt kijetesantakaluotokieni mpc_cli duf dufs progress hledger - wineWowPackages.full sops + wineWowPackages.full sops xdg-utils # graphical utils kitty baobab # gnss things |