Compare commits
12 commits
b2f0e15896
...
6bae135b1b
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bae135b1b | |||
| 1e063b51ae | |||
| aa2c024093 | |||
| caba8a2cd8 | |||
| 711add6193 | |||
| 9b036948d7 | |||
| c4b4113ff3 | |||
| 7f76df19b1 | |||
| 04f8602b06 | |||
| 62f51149cb | |||
| 096901d2a5 | |||
| deaee00d58 |
3 changed files with 15 additions and 2 deletions
|
|
@ -38,6 +38,14 @@
|
|||
};
|
||||
};
|
||||
|
||||
xdg = {
|
||||
mime-apps = {
|
||||
applications = {
|
||||
browser = "garcon_host_browser.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
zsh = {
|
||||
notify = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -21,5 +21,9 @@ in
|
|||
# Do not keep me from using the app just to force an update
|
||||
SKIP_HOST_UPDATE = true;
|
||||
};
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"x-scheme-handler/discord" = "discord.desktop";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,7 +11,9 @@ let
|
|||
in
|
||||
{
|
||||
options.my.home.xdg.mime-apps = with lib; {
|
||||
enable = my.mkDisableOption "XDG MIME Applications configuration";
|
||||
enable = mkEnableOption "XDG MIME Applications configuration" // {
|
||||
default = config.my.home.xdg.enable;
|
||||
};
|
||||
|
||||
applications = lib.mapAttrsRecursive (_: mkMimeAppOption) {
|
||||
archive = "archive manager";
|
||||
|
|
@ -269,7 +271,6 @@ in
|
|||
# "image/x-eps" = app.media.document.pdf
|
||||
|
||||
# FIXME: additionally interesting, but not necessary
|
||||
# "x-scheme-handler/discord" = [ "discord.desktop" ];
|
||||
# "x-scheme-handler/msteams" = [ "teams.desktop" ];
|
||||
# "x-scheme-handler/slack" = [ "slack.desktop" ];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue