fix: set imv as a image viewer
This commit is contained in:
@@ -22,4 +22,28 @@
|
|||||||
imagemagick
|
imagemagick
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
];
|
];
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"image/bmp" = "imv.desktop";
|
||||||
|
"image/gif" = "imv.desktop";
|
||||||
|
"image/jpeg" = "imv.desktop";
|
||||||
|
"image/jpg" = "imv.desktop";
|
||||||
|
"image/pjpeg" = "imv.desktop";
|
||||||
|
"image/png" = "imv.desktop";
|
||||||
|
"image/tiff" = "imv.desktop";
|
||||||
|
"image/x-bmp" = "imv.desktop";
|
||||||
|
"image/x-pcx" = "imv.desktop";
|
||||||
|
"image/x-png" = "imv.desktop";
|
||||||
|
"image/x-portable-anymap" = "imv.desktop";
|
||||||
|
"image/x-portable-bitmap" = "imv.desktop";
|
||||||
|
"image/x-portable-graymap" = "imv.desktop";
|
||||||
|
"image/x-portable-pixmap" = "imv.desktop";
|
||||||
|
"image/x-tga" = "imv.desktop";
|
||||||
|
"image/x-xbitmap" = "imv.desktop";
|
||||||
|
"image/heif" = "imv.desktop";
|
||||||
|
"image/avif" = "imv.desktop";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user