updated xdg-mime.nix
This commit is contained in:
parent
47def082e5
commit
9eeb59537f
1 changed files with 45 additions and 33 deletions
|
|
@ -1,6 +1,18 @@
|
|||
# Mime allows us to configure the default applications for each file type
|
||||
{
|
||||
xdg.mimeApps = {
|
||||
xdg = {
|
||||
|
||||
desktopEntries = {
|
||||
swayimg = {
|
||||
name = "Swayimg";
|
||||
genericName = "Image Viewer";
|
||||
terminal = true;
|
||||
exec = "swayimg %F";
|
||||
categories = [ "Graphics" "Viewer" ];
|
||||
};
|
||||
};
|
||||
|
||||
mimeApps = {
|
||||
defaultApplications = {
|
||||
|
||||
## Basic Text
|
||||
|
|
@ -9,8 +21,8 @@
|
|||
"application/pdf" = "firefox.desktop";
|
||||
|
||||
## Images
|
||||
"image/gif" = "swayimg";
|
||||
"image/png" = "swayimg";
|
||||
"image/gif" = "swayimg.desktop";
|
||||
"image/png" = "swayimg.desktop";
|
||||
"image/jpg" = "swayimg.desktop";
|
||||
"image/jpeg" = "swayimg.desktop";
|
||||
"image/webp" = "swayimg.desktop";
|
||||
|
|
@ -22,7 +34,6 @@
|
|||
"video/quicktime" = "vlc.desktop";
|
||||
"video/x-matroska" = "vlc.desktop";
|
||||
|
||||
|
||||
## Music
|
||||
|
||||
## Gaming
|
||||
|
|
@ -44,4 +55,5 @@
|
|||
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue