mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-25 09:28:27 +02:00
feat(home/linux/gui/base/xdg): adjust mimeApps
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
# let `xdg-open` to open the url with the correct application.
|
# let `xdg-open` to open the url with the correct application.
|
||||||
defaultApplications = let
|
defaultApplications = let
|
||||||
browser = ["firefox.desktop"];
|
browser = ["firefox.desktop" "google-chrome.desktop"];
|
||||||
editor = ["nvim.desktop" "Helix.desktop" "code.desktop" "code-insiders.desktop"];
|
editor = ["nvim.desktop" "Helix.desktop" "code.desktop" "code-insiders.desktop"];
|
||||||
in {
|
in {
|
||||||
"application/json" = browser;
|
"application/json" = browser;
|
||||||
@@ -75,6 +75,8 @@
|
|||||||
"image/jpeg" = ["imv-dir.desktop"];
|
"image/jpeg" = ["imv-dir.desktop"];
|
||||||
"image/png" = ["imv-dir.desktop"];
|
"image/png" = ["imv-dir.desktop"];
|
||||||
"image/webp" = ["imv-dir.desktop"];
|
"image/webp" = ["imv-dir.desktop"];
|
||||||
|
|
||||||
|
"inode/directory" = ["yazi.desktop"];
|
||||||
};
|
};
|
||||||
|
|
||||||
associations.removed = {
|
associations.removed = {
|
||||||
|
|||||||
Reference in New Issue
Block a user