updated xdg-mime.nix - hopefully fixed xdg fuckery
This commit is contained in:
parent
dd9ceab542
commit
c82bf85e4c
1 changed files with 5 additions and 25 deletions
|
|
@ -10,6 +10,13 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
associations = {
|
associations = {
|
||||||
added = {
|
added = {
|
||||||
|
## General
|
||||||
|
"inode/directory" = [ "yazi.desktop" ];
|
||||||
|
"text/plain" = [ "nvim.desktop" ];
|
||||||
|
"text/markdown" = [ "nvim.desktop" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
defaultApplications = {
|
||||||
## General
|
## General
|
||||||
"inode/directory" = [ "yazi.desktop" ];
|
"inode/directory" = [ "yazi.desktop" ];
|
||||||
"image/gif" = [ "swayimg.desktop" ];
|
"image/gif" = [ "swayimg.desktop" ];
|
||||||
|
|
@ -40,32 +47,5 @@
|
||||||
"text/x-python" = [ "nvim.desktop" ];
|
"text/x-python" = [ "nvim.desktop" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
defaultApplications = {
|
|
||||||
## General
|
|
||||||
"inode/directory" = [ "yazi.desktop" ];
|
|
||||||
"image/*" = [ "swayimg.desktop" ];
|
|
||||||
"audio/*" = [ "strawberry.desktop" ];
|
|
||||||
"video/*" = [ "vlc.desktop" ];
|
|
||||||
"text/plain" = [ "nvim.desktop" ];
|
|
||||||
"text/markdown" = [ "nvim.desktop" ];
|
|
||||||
"application/pdf" = [ "zathura.desktop" ];
|
|
||||||
"application/zip" = [ "org.gnome.FileRoller.desktop" ];
|
|
||||||
## Web
|
|
||||||
"text/css" = [ "nvim.desktop" ];
|
|
||||||
"text/html" = [ "nvim.desktop" ];
|
|
||||||
"application/json" = [ "firefox.desktop" ];
|
|
||||||
"x-scheme-handler/ftp" = [ "firefox.desktop" ];
|
|
||||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
|
||||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
|
||||||
## Code
|
|
||||||
"text/x-shellscript" = [ "nvim.desktop" ];
|
|
||||||
"text/x-xml" = [ "nvim.desktop" ];
|
|
||||||
"text/x-yaml" = [ "nvim.desktop" ];
|
|
||||||
"text/x-toml" = [ "nvim.desktop" ];
|
|
||||||
"text/x-nix" = [ "nvim.desktop" ];
|
|
||||||
"text/x-rust" = [ "nvim.desktop" ];
|
|
||||||
"text/x-python" = [ "nvim.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue