noctalia stuff

This commit is contained in:
2026-02-03 13:29:34 -05:00
parent d6f7dab062
commit d5eda18b84
3 changed files with 22 additions and 11 deletions

View File

@@ -27,5 +27,14 @@
"statusbar" "statusbar"
]; ];
} }
# swaybg works on more than just sway (sets a wallpaper)
{
command = [
(lib.getExe pkgs.swaybg)
"-i"
"${../wallpaper.png}"
];
}
]; ];
} }

View File

@@ -60,17 +60,6 @@ in
xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite; xwayland-satellite.path = lib.getExe pkgs.xwayland-satellite;
spawn-at-startup = [
# swaybg works on more than just sway (sets a wallpaper)
{
command = [
(lib.getExe pkgs.swaybg)
"-i"
"${../wallpaper.png}"
];
}
];
window-rules = [ window-rules = [
{ draw-border-with-background = false; } { draw-border-with-background = false; }
{ {

View File

@@ -26,6 +26,19 @@
darkMode = true; darkMode = true;
useWallpaperColors = true; useWallpaperColors = true;
}; };
location = {
weatherEnabled = false;
};
wallpaper = {
enabled = true;
};
};
};
home.file.".cache/noctalia/wallpapers.json" = {
text = builtins.toJSON {
defaultWallpaper = "${../wallpaper.png}";
wallpapers = { };
}; };
}; };