[xdg] unified config
This commit is contained in:
parent
c07ed9c130
commit
de1aa3f493
@ -13,6 +13,13 @@
|
|||||||
"application/pdf" = ["org.gnome.Evince.desktop"];
|
"application/pdf" = ["org.gnome.Evince.desktop"];
|
||||||
"application/x-pdf" = ["org.gnome.Evince.desktop"];
|
"application/x-pdf" = ["org.gnome.Evince.desktop"];
|
||||||
|
|
||||||
|
# firefox
|
||||||
|
"text/html" = ["firefox.desktop"];
|
||||||
|
"x-scheme-handler/http" = ["firefox.desktop"];
|
||||||
|
"x-scheme-handler/https" = ["firefox.desktop"];
|
||||||
|
"x-scheme-handler/about" = ["firefox.desktop"];
|
||||||
|
"x-scheme-handler/unknown" = ["firefox.desktop"];
|
||||||
|
|
||||||
# images
|
# images
|
||||||
"image/bmp" = [ "org.gnome.Loupe.desktop" ];
|
"image/bmp" = [ "org.gnome.Loupe.desktop" ];
|
||||||
"image/gif" = [ "org.gnome.Loupe.desktop" ];
|
"image/gif" = [ "org.gnome.Loupe.desktop" ];
|
||||||
|
@ -13,16 +13,6 @@
|
|||||||
xdg-desktop-portal-wlr
|
xdg-desktop-portal-wlr
|
||||||
];
|
];
|
||||||
|
|
||||||
# xdg mime
|
|
||||||
xdg.mime.enable = true;
|
|
||||||
xdg.mime.defaultApplications = {
|
|
||||||
"text/html" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/http" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/https" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/about" = "firefox.desktop";
|
|
||||||
"x-scheme-handler/unknown" = "firefox.desktop";
|
|
||||||
};
|
|
||||||
|
|
||||||
# gnome
|
# gnome
|
||||||
services.xserver.displayManager.gdm.enable = true;
|
services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.desktopManager.gnome.enable = true;
|
services.xserver.desktopManager.gnome.enable = true;
|
||||||
|
Reference in New Issue
Block a user