mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-02 11:12:09 +02:00
update mimeapps
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
# 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;
|
||||
defaultApplications = {
|
||||
"text/markdown" = "nvim.desktop";
|
||||
@@ -26,6 +33,7 @@
|
||||
"x-scheme-handler/http" = "zen.desktop";
|
||||
"x-scheme-handler/https" = "zen.desktop";
|
||||
"text/html" = "zen.desktop";
|
||||
"inode/directory" = "thunar.desktop";
|
||||
"application/pdf" = "zathura.desktop";
|
||||
"image/png" = "imv-dir.desktop";
|
||||
"x-scheme-handler/chrome" = "zen.desktop";
|
||||
@@ -37,4 +45,5 @@
|
||||
"application/x-extension-xht" = "zen.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user