--wip-- [skip ci]
This commit is contained in:
parent
eea02abfcb
commit
762085707c
136 changed files with 261 additions and 261 deletions
17
hm/modules/heif.nix
Normal file
17
hm/modules/heif.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
thumbnailer = "${pkgs.libheif.bin}/bin/heif-thumbnailer";
|
||||
in
|
||||
{
|
||||
# home.packages = [
|
||||
# pkgs.libheif.bin
|
||||
# ];
|
||||
|
||||
xdg.dataFile."thumbnailers/heic.thumbnailer".text = ''
|
||||
[Thumbnailer Entry]
|
||||
TryExec=${thumbnailer}
|
||||
Exec=${thumbnailer} -s %s %i %o
|
||||
MimeType=image/heif;image/heic
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue