Regenerated
This commit is contained in:
@@ -3,4 +3,5 @@ exec-once = hypridle
|
||||
exec-once = hyprpolkitagent
|
||||
exec-once = systemd-run --user --scope --unit=elephant elephant
|
||||
exec-once = bash -c "sleep 5 && waybar"
|
||||
exec-once = swww-daemon &
|
||||
exec-once = swww-daemon & swww img -o eDP-1 ~/Wallpapers/pictures/18.jpg
|
||||
exec-once = sh ~/Wallpapers/scripts/wallpaper.sh &
|
||||
|
||||
@@ -5,6 +5,7 @@ let
|
||||
homeDir = "/home/${username}";
|
||||
wallpaperSrc = "${flakeRoot}/assets/traveldroid/Wallpapers";
|
||||
wallpaperDst = "${homeDir}/Wallpapers";
|
||||
randoScript = "${homeDir}/Wallpapers/scripts/randomizeWallpapers.sh";
|
||||
in
|
||||
{
|
||||
# Make bash available
|
||||
@@ -43,17 +44,27 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
# User service to run the script
|
||||
# User service to run the script that copies the Wallpaperstuff
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${homeDir}/copy-wallpapers.sh";
|
||||
Restart = "no";
|
||||
WorkingDirectory = homeDir;
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
||||
# User service to randomize wallpapers
|
||||
systemd.user.services.copyWallpapers = {
|
||||
description = "Copy wallpapers from repo to ~/Wallpapers";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${randoScript}";
|
||||
Restart = "no";
|
||||
WorkingDirectory = homeDir;
|
||||
};
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
|
||||
@@ -65,12 +76,10 @@ in
|
||||
description = "Dynamic wallpapers per workspace for Hyprland";
|
||||
after = [ "graphical-session.target" ];
|
||||
wants = [ "graphical-session.target" ];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${homeDir}/Wallpapers/scripts/workspace-wallpapers.sh";
|
||||
Restart = "always";
|
||||
};
|
||||
|
||||
wantedBy = [ "default.target" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user