From 9fbc05dfa48c095f359d045034f31f174b6b9b6a Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 31 Aug 2023 21:15:23 +0900 Subject: [PATCH] test --- .../nixos-laptop/desktops/hyprland/gruvbox/hyprland-conf.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 &