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;
};
};
xdg.configFile = {
"hypr/hyprpaper.conf".text = ''
preload = ${wallpapers.default}
wallpaper = ,${wallpapers.default}
'';
"hypr/macchiato.conf".source = ./macchiato.conf;
"hypr/extra.conf" = lib.mkDefault { text = ""; };
xdg = {
configFile = {
"hypr/hyprpaper.conf".text = ''
preload = ${wallpapers.default}
wallpaper = ,${wallpapers.default}
'';
"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 = {
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" ];
};
};
xdg.portal = {
enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
};
programs = {
hyprland = {