Move mimeApps, implemented at wrong level
This commit is contained in:
parent
05077d26d9
commit
84c189b093
|
@ -38,15 +38,4 @@
|
||||||
style = "gtk2";
|
style = "gtk2";
|
||||||
platformTheme = "gtk2";
|
platformTheme = "gtk2";
|
||||||
};
|
};
|
||||||
xdg.mimeApp = {
|
|
||||||
enable = true;
|
|
||||||
defaultApplications = {
|
|
||||||
"image/jpeg" = [ "swayimg.desktop" "emacs.desktop" ];
|
|
||||||
"image/png" = [ "swayimg.desktop" "emacs.desktop" ];
|
|
||||||
};
|
|
||||||
associations.added = {
|
|
||||||
"image/jpeg" = [ "swayimg.desktop" ];
|
|
||||||
"image/png" = [ "swayimg.desktop" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,9 +65,22 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg = {
|
||||||
enable = true;
|
portal = {
|
||||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||||
|
};
|
||||||
|
mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplications = {
|
||||||
|
"image/jpeg" = [ "swayimg.desktop" ];
|
||||||
|
"image/png" = [ "swayimg.desktop" ];
|
||||||
|
};
|
||||||
|
associations.added = {
|
||||||
|
"image/jpeg" = [ "swayimg.desktop" ];
|
||||||
|
"image/png" = [ "swayimg.desktop" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
programs = {
|
programs = {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
|
|
Loading…
Reference in a new issue