Regenerated
This commit is contained in:
@@ -11,9 +11,9 @@ in
|
||||
# Packages
|
||||
############################
|
||||
environment.systemPackages = with pkgs; [
|
||||
swww # For setting wallpapers
|
||||
waypaper # Optional, if you use it
|
||||
jq # Needed by the script
|
||||
swww
|
||||
waypaper
|
||||
jq
|
||||
];
|
||||
|
||||
############################
|
||||
@@ -29,19 +29,18 @@ in
|
||||
chown -R ${username}:${username} ${wallpaperDst}
|
||||
chmod +x ${wallpaperDst}/set-wallpapers-per-workspace.sh
|
||||
'';
|
||||
install.wantedBy = [ "default.target" ];
|
||||
enable = true;
|
||||
};
|
||||
|
||||
############################
|
||||
# Optional: Auto-run script at login
|
||||
# Auto-run script at login
|
||||
############################
|
||||
# This assumes you want it to run for your user automatically
|
||||
systemd.user.services.wallpaperPerWorkspace = {
|
||||
description = "Set wallpapers per workspace on login";
|
||||
after = [ "copyWallpapers.service" ];
|
||||
wants = [ "copyWallpapers.service" ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
serviceConfig.ExecStart = "${wallpaperDst}/set-wallpapers-per-workspace.sh";
|
||||
install.wantedBy = [ "default.target" ];
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user