From e9ac6272ee1ccc0201dc7fe1061cfdf3d1a52a93 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Thu, 18 May 2023 20:11:05 +0530 Subject: [PATCH] use updated scripts --- home/desktop/wm/hyprland/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/desktop/wm/hyprland/default.nix b/home/desktop/wm/hyprland/default.nix index b61a85f..53de579 100644 --- a/home/desktop/wm/hyprland/default.nix +++ b/home/desktop/wm/hyprland/default.nix @@ -15,8 +15,8 @@ tmux = "${config.programs.tmux.package}/bin/tmux"; wpctl = "${pkgs.wireplumber}/bin/wpctl"; xdg-user-dir = "${pkgs.xdg-user-dirs}/bin/xdg-user-dir"; - change-wallpaper = "${pkgs.scripts}/bin/chpaper \${HOME}/Pictures/Wallpapers"; - wallhaven-wallpaper = "${pkgs.scripts}/bin/wallhaven"; + change-wallpaper = "${pkgs.scripts}/bin/chpaper ${config.xdg.userDirs.pictures}/Wallpapers"; + wallhaven-wallpaper = "${pkgs.scripts}/bin/chpaper \$(${pkgs.scripts}/bin/wallhaven ${config.xdg.userDirs.pictures}/Wallpapers)"; in { home.packages = with pkgs; [ hyprland