thumbnailers
This commit is contained in:
parent
f0e2421262
commit
2089bbee90
@ -30,6 +30,7 @@
|
|||||||
gnome-tour
|
gnome-tour
|
||||||
yelp
|
yelp
|
||||||
gnome-music
|
gnome-music
|
||||||
|
totem
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
qt.enable = true;
|
qt.enable = true;
|
||||||
|
|||||||
@ -102,8 +102,31 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
environment.etc = {
|
environment = {
|
||||||
"wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
pathsToLink = [ "share/thumbnailers" ];
|
||||||
|
systemPackages =
|
||||||
|
builtins.attrValues {
|
||||||
|
# thumbnail for heif files & videos
|
||||||
|
inherit (pkgs)
|
||||||
|
libheif
|
||||||
|
ffmpegthumbnailer
|
||||||
|
bign-handheld-thumbnailer
|
||||||
|
gnome-epub-thumbnailer
|
||||||
|
;
|
||||||
|
inherit (pkgs.libheif) out;
|
||||||
|
}
|
||||||
|
++ [
|
||||||
|
(pkgs.writeTextFile {
|
||||||
|
name = "krita-thumbnailer";
|
||||||
|
destination = "/share/thumbnailers/kra.thumbnailer";
|
||||||
|
text = ''
|
||||||
|
[Thumbnailer Entry]
|
||||||
|
Exec=sh -c "${pkgs.unzip}/bin/unzip -p %i preview.png > %o"
|
||||||
|
MimeType=application/x-krita;
|
||||||
|
'';
|
||||||
|
})
|
||||||
|
];
|
||||||
|
etc."wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
|
||||||
bluez_monitor.properties = {
|
bluez_monitor.properties = {
|
||||||
["bluez5.enable-sbc-xq"] = true,
|
["bluez5.enable-sbc-xq"] = true,
|
||||||
["bluez5.enable-msbc"] = true,
|
["bluez5.enable-msbc"] = true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user