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,12 +42,25 @@
theme = catppuccin-themes.hyprland; theme = catppuccin-themes.hyprland;
}; };
}; };
xdg.configFile = { xdg = {
"hypr/hyprpaper.conf".text = '' configFile = {
preload = ${wallpapers.default} "hypr/hyprpaper.conf".text = ''
wallpaper = ,${wallpapers.default} preload = ${wallpapers.default}
''; wallpaper = ,${wallpapers.default}
"hypr/macchiato.conf".source = ./macchiato.conf; '';
"hypr/extra.conf" = lib.mkDefault { text = ""; }; "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,22 +65,9 @@
}; };
}; };
}; };
xdg = { xdg.portal = {
portal = { enable = true;
enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
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 = {