diff --git a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix index 32211b72..71b5b13c 100644 --- a/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix +++ b/home-manager/hosts/nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix @@ -254,8 +254,9 @@ # Set the wallpaper swww init & - WALLPAPER_DIR=/etc/nixos/git/wallpapers/${theme} - swww img $WALLPAPER_DIR/`ls $WALLPAPER_DIR | shuf -n 1` & + DIR=/etc/nixos/git/wallpapers/${theme} + IMG=`ls $DIR | shuf -n 1` + swww img $DIR/$IMG # Waybar waybar &