mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 20:02:10 +02:00
@@ -1,6 +1,13 @@
|
|||||||
# Mime allows us to configure the default applications for each file type
|
# Mime allows us to configure the default applications for each file type
|
||||||
{
|
{
|
||||||
xdg.mimeApps = {
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
mime.enable = true;
|
||||||
|
userDirs.enable = true;
|
||||||
|
portal.xdgOpenUsePortal = true;
|
||||||
|
configFile."mimeapps.list".force =
|
||||||
|
true; # don't error when mimeapps.list is replaced, it gets replaced often
|
||||||
|
mimeApps = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"text/markdown" = "nvim.desktop";
|
"text/markdown" = "nvim.desktop";
|
||||||
@@ -26,6 +33,7 @@
|
|||||||
"x-scheme-handler/http" = "zen.desktop";
|
"x-scheme-handler/http" = "zen.desktop";
|
||||||
"x-scheme-handler/https" = "zen.desktop";
|
"x-scheme-handler/https" = "zen.desktop";
|
||||||
"text/html" = "zen.desktop";
|
"text/html" = "zen.desktop";
|
||||||
|
"inode/directory" = "thunar.desktop";
|
||||||
"application/pdf" = "zathura.desktop";
|
"application/pdf" = "zathura.desktop";
|
||||||
"image/png" = "imv-dir.desktop";
|
"image/png" = "imv-dir.desktop";
|
||||||
"x-scheme-handler/chrome" = "zen.desktop";
|
"x-scheme-handler/chrome" = "zen.desktop";
|
||||||
@@ -37,4 +45,5 @@
|
|||||||
"application/x-extension-xht" = "zen.desktop";
|
"application/x-extension-xht" = "zen.desktop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user