From 77c8c56a4b16942b35bfec8d13d49211d09ef98f Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sat, 12 Jul 2025 23:28:50 +0100 Subject: [PATCH] fixed hyprshot using wrong dir hyprshot doesnt respect $HYPRSHOT_DIR for some reason so removed that variable and used -o option in the command instead, now actually works yay --- home-manager/home.nix | 2 -- home-manager/hyprland.nix | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index 4ba3109..7eb571b 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -33,8 +33,6 @@ # Allow XWayland apps to not be weird after turning off xwayland scaling in hyprland.conf GDK_SCALE = 1; XCURSOR_SIZE = 24; - # Set hyprshot save directory - HYPRSHOT_DIR = "$HOME/Pictures/Screenshots"; # Set default editor EDITOR = "nvim"; NIXOS_OZONE_WL = 1; diff --git a/home-manager/hyprland.nix b/home-manager/hyprland.nix index 4567332..cbb242c 100644 --- a/home-manager/hyprland.nix +++ b/home-manager/hyprland.nix @@ -82,7 +82,7 @@ "$mod, j, exec, sh $scripts/hyprland/touchpad_toggle.sh" # Screenshot tool - ", Print, exec, hyprshot -m region" + ", Print, exec, hyprshot -m region -o ~/Pictures/Screenshots" # Screen locking tool "$mod, l, exec, hyprlock"