feat: perf hyprland switcher and new image viewer

This commit is contained in:
2026-01-18 17:24:43 -05:00
parent 23a642f6f7
commit 0d21f85c84
9 changed files with 159 additions and 258 deletions

View File

@@ -0,0 +1,26 @@
{ pkgs, ... }:
{
xdg.desktopEntries.imv = {
name = "imv";
exec = "${pkgs.imv}/bin/imv %F";
icon = "imv";
};
xdg.mimeApps = let
value = "imv.desktop";
associations = builtins.listToAttrs (map (name: {
inherit name value;
}) [
"image/png"
"image/jpeg"
"image/gif"
"image/bmp"
"image/webp"
]);
in {
enable = true;
associations.added = associations;
defaultApplications = associations;
};
}