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
+404 -424
View File
File diff suppressed because it is too large Load Diff
+16 -36
View File
@@ -1309,7 +1309,12 @@ let
in in
{ {
# Make bash available # 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 # Create the copy script using Home Manager, following Waybar style
home-manager.users = { home-manager.users = {
@@ -1362,31 +1367,6 @@ in
}; };
wantedBy = [ "default.target" ]; 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" ];
};
} }
#+END_SRC #+END_SRC
@@ -2771,16 +2751,16 @@ bind = $mainMod, F, fullscreen, 0
bind = $mainMod SHIFT, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 1
# Workspaces # Workspaces
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1, exec, ~/.config/hypr/ws-wallpaper.sh 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2, exec, ~/.config/hypr/ws-wallpaper.sh 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3, exec, ~/.config/hypr/ws-wallpaper.sh 3
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4, exec, ~/.config/hypr/ws-wallpaper.sh 4
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5, exec, ~/.config/hypr/ws-wallpaper.sh 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6, exec, ~/.config/hypr/ws-wallpaper.sh 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7, exec, ~/.config/hypr/ws-wallpaper.sh 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8, exec, ~/.config/hypr/ws-wallpaper.sh 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9, exec, ~/.config/hypr/ws-wallpaper.sh 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10, exec, ~/.config/hypr/ws-wallpaper.sh 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
WS=$1
case "$WS" in
0)
swww img /home/henrov/Wallpapers/pictures/10.jpg --transition-type fade
;;
1)
swww img /home/henrov/Wallpapers/pictures/01.jpg --transition-type fade
;;
2)
swww img /home/henrov/Wallpapers/pictures/02.jpg --transition-type fade
;;
3)
swww img /home/henrov/Wallpapers/pictures/03.jpg --transition-type fade
;;
4)
swww img /home/henrov/Wallpapers/pictures/04.jpg --transition-type fade
;;
5)
swww img /home/henrov/Wallpapers/pictures/05.jpg --transition-type fade
;;
6)
swww img /home/henrov/Wallpapers/pictures/06.jpg --transition-type fade
;;
7)
swww img /home/henrov/Wallpapers/pictures/07.jpg --transition-type fade
;;
8)
swww img /home/henrov/Wallpapers/pictures/08.jpg --transition-type fade
;;
9)
swww img /home/henrov/Wallpapers/pictures/09.jpg --transition-type fade
;;
esac
+10 -10
View File
@@ -82,16 +82,16 @@ bind = $mainMod, F, fullscreen, 0
bind = $mainMod SHIFT, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 1
# Workspaces # Workspaces
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1, exec, ~/.config/hypr/ws-wallpaper.sh 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2, exec, ~/.config/hypr/ws-wallpaper.sh 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3, exec, ~/.config/hypr/ws-wallpaper.sh 3
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4, exec, ~/.config/hypr/ws-wallpaper.sh 4
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5, exec, ~/.config/hypr/ws-wallpaper.sh 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6, exec, ~/.config/hypr/ws-wallpaper.sh 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7, exec, ~/.config/hypr/ws-wallpaper.sh 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8, exec, ~/.config/hypr/ws-wallpaper.sh 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9, exec, ~/.config/hypr/ws-wallpaper.sh 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10, exec, ~/.config/hypr/ws-wallpaper.sh 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
@@ -10,7 +10,12 @@ let
in in
{ {
# Make bash available # 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 # Create the copy script using Home Manager, following Waybar style
home-manager.users = { home-manager.users = {
@@ -63,29 +68,4 @@ in
}; };
wantedBy = [ "default.target" ]; 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" ];
};
} }