Regenerated

This commit is contained in:
2026-04-29 13:43:13 +02:00
parent 985ae948d7
commit 4123c33731
5 changed files with 472 additions and 496 deletions
+10 -10
View File
@@ -82,16 +82,16 @@ bind = $mainMod, F, fullscreen, 0
bind = $mainMod SHIFT, F, fullscreen, 1
# Workspaces
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod, 1, workspace, 1, exec, ~/.config/hypr/ws-wallpaper.sh 1
bind = $mainMod, 2, workspace, 2, exec, ~/.config/hypr/ws-wallpaper.sh 2
bind = $mainMod, 3, workspace, 3, exec, ~/.config/hypr/ws-wallpaper.sh 3
bind = $mainMod, 4, workspace, 4, exec, ~/.config/hypr/ws-wallpaper.sh 4
bind = $mainMod, 5, workspace, 5, exec, ~/.config/hypr/ws-wallpaper.sh 5
bind = $mainMod, 6, workspace, 6, exec, ~/.config/hypr/ws-wallpaper.sh 6
bind = $mainMod, 7, workspace, 7, exec, ~/.config/hypr/ws-wallpaper.sh 7
bind = $mainMod, 8, workspace, 8, exec, ~/.config/hypr/ws-wallpaper.sh 8
bind = $mainMod, 9, workspace, 9, exec, ~/.config/hypr/ws-wallpaper.sh 9
bind = $mainMod, 0, workspace, 10, exec, ~/.config/hypr/ws-wallpaper.sh 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
@@ -10,7 +10,12 @@ let
in
{
# Make bash available
environment.systemPackages = [ pkgs.bash pkgs.rsync pkgs.jq pkgs.awww pkgs.waypaper pkgs.socat ];
environment.systemPackages = [
pkgs.bash
pkgs.rsync
pkgs.jq
pkgs.awww
pkgs.waypaper pkgs.socat ];
# Create the copy script using Home Manager, following Waybar style
home-manager.users = {
@@ -63,29 +68,4 @@ in
};
wantedBy = [ "default.target" ];
};
############################
# Random background per workspace at logon
############################
systemd.user.services.workspaceWallpapers = {
description = "Dynamic wallpapers per workspace for Hyprland";
after = [ "graphical-session.target" ];
wants = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${homeDir}/Wallpapers/scripts/workspace-wallpapers.sh";
Restart = "on-failure";
RestartSec = 5;
WorkingDirectory = homeDir;
Environment = [
"HYPRLAND_INSTANCE_SIGNATURE=${builtins.getEnv "HYPRLAND_INSTANCE_SIGNATURE"}"
"WAYLAND_DISPLAY=wayland-1"
"PATH=/run/current-system/sw/bin:/usr/bin:/bin"
];
};
wantedBy = [ "default.target" ];
};
}