I should commit more frequently 🫣
This commit is contained in:
parent
d7e82621c8
commit
f1483e45f0
70 changed files with 2344 additions and 599 deletions
|
@ -1,7 +1,12 @@
|
|||
{
|
||||
{pkgs, ...}: {
|
||||
xdg = {
|
||||
enable = true;
|
||||
mimeApps.enable = true;
|
||||
mimeApps.defaultApplications = {
|
||||
"text/html" = ["firefox.desktop"];
|
||||
"x-scheme-handler/http" = ["firefox.desktop"];
|
||||
"x-scheme-handler/https" = ["firefox.desktop"];
|
||||
};
|
||||
desktopEntries = {
|
||||
org-protocol = {
|
||||
name = "org-protocol";
|
||||
|
@ -10,6 +15,14 @@
|
|||
terminal = false;
|
||||
mimeType = ["x-scheme-handler/org-protocol"];
|
||||
};
|
||||
firefox = {
|
||||
name = "firefox";
|
||||
genericName = "Firefox protocol";
|
||||
exec = "firefox -- %U";
|
||||
terminal = false;
|
||||
mimeType = ["text/html" "text/xml" "text/uri"];
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = [pkgs.xdg-utils];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue