Switch to swaybg

This commit is contained in:
Thomas Avé 2026-05-10 19:00:09 +07:00
parent e117542412
commit 2b1e3ac9b7
Signed by: thomasave
SSH Key Fingerprint: SHA256:bvIbWy6TO9+PdMTPzWy6dqkRlVQ3eSky+vQcc9aRIiE
2 changed files with 2 additions and 13 deletions

View File

@ -27,6 +27,7 @@ in {
home.packages = with pkgs; [
rclone
uv
claude-code
awscli2
distrobox
gnome-disk-utility

View File

@ -53,18 +53,6 @@
in {
# Since native Home Manager doesn't have a programs.niri module yet,
# we generate the KDL configuration file directly.
services.hyprpaper = {
enable = true;
settings = {
ipc = "off";
splash = false;
wallpaper = {
path = "${../hyprland/files/wallpaper.png}";
monitor = "";
};
};
};
programs.hyprlock = {
enable = true;
settings = {
@ -97,7 +85,7 @@ in {
};
xdg.configFile."niri/config.kdl".text = ''
spawn-at-startup "${pkgs.hyprpaper}/bin/hyprpaper"
spawn-at-startup "${pkgs.swaybg}/bin/swaybg" "-i" "${../hyprland/files/wallpaper.png}" "-m" "fill"
spawn-at-startup "foot" "--server"
spawn-at-startup "ags" "run"
spawn-at-startup "${pkgs.mate-polkit}/bin/polkit-mate"