blob: 7096c69565c7eda55d3829be067d77fdcd49446c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs, ... }: {
home.packages = with pkgs; [ xfce.tumbler ];
xdg.desktopEntries.llpp = {
name = "llpp";
genericName = "PDF viewer";
exec = "llpp %f";
terminal = false;
categories = [ "Graphics" "Viewer" ];
mimeType = [ "application/pdf" "application/x-pdf" ];
type = "Application";
};
xdg.mimeApps.enable = true;
xdg.mimeApps.defaultApplications = {
"application/pdf" = [ "epdfview.desktop" ];
"image/jpeg" = [ "org.xfce.ristretto.desktop" ];
"image/png" = [ "org.xfce.ristretto.desktop" ];
"text/plain" = [ "leafpad.desktop" ];
};
}
|