home/programs/media: add celluloid (mpv front-end)

This commit is contained in:
Anthony Rodriguez 2024-10-06 22:43:01 +02:00
parent 15abf4174d
commit 172b3592da
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 12 additions and 0 deletions

View file

@ -1,8 +1,10 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.mpv.enable = true;
home.packages = [ home.packages = [
pkgs.gnome-calculator pkgs.gnome-calculator
pkgs.loupe pkgs.loupe
pkgs.spotify pkgs.spotify
pkgs.stremio pkgs.stremio
pkgs.celluloid
]; ];
} }

View file

@ -18,6 +18,16 @@
"image/svg" = [" org.gnome.Loupe.desktop"]; "image/svg" = [" org.gnome.Loupe.desktop"];
"image/jpeg" = ["org.gnome.Loupe.desktop"]; "image/jpeg" = ["org.gnome.Loupe.desktop"];
"image/gif" = [" org.gnome.Loupe.desktop"]; "image/gif" = [" org.gnome.Loupe.desktop"];
"video/mp4" = ["io.github.celluloid_player.Celluloid.desktop"];
"video/avi" = ["io.github.celluloid_player.Celluloid.desktop"];
"video/mkv" = ["io.github.celluloid_player.Celluloid.desktop"];
};
};
userDirs = {
enable = true;
createDirectories = true;
extraConfig = {
XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
}; };
}; };
}; };