Wrong again... fixed this time

This commit is contained in:
Evie Litherland-Smith 2023-09-13 17:43:20 +01:00
parent f9629b84ac
commit 708cb4c97f
2 changed files with 23 additions and 23 deletions

View file

@ -42,7 +42,8 @@
theme = catppuccin-themes.hyprland;
};
};
xdg.configFile = {
xdg = {
configFile = {
"hypr/hyprpaper.conf".text = ''
preload = ${wallpapers.default}
wallpaper = ,${wallpapers.default}
@ -50,4 +51,16 @@
"hypr/macchiato.conf".source = ./macchiato.conf;
"hypr/extra.conf" = lib.mkDefault { text = ""; };
};
mimeApps = {
enable = true;
defaultApplications = {
"image/jpeg" = [ "swayimg.desktop" ];
"image/png" = [ "swayimg.desktop" ];
};
associations.added = {
"image/jpeg" = [ "swayimg.desktop" ];
"image/png" = [ "swayimg.desktop" ];
};
};
};
}

View file

@ -65,23 +65,10 @@
};
};
};
xdg = {
portal = {
xdg.portal = {
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 = {
hyprland = {
enable = true;