Screenshots don't save in the specified directory
Today while going through my screenshots, I realized that the screenshots I took were no longer getting saved to the specified directory. From the time stamps of my screenshots, it looks like this issue started around end of June 2025 to start of July 2025. As of now, the screenshots get saved to the first fallback directory i.e XDG_PICTURES_DIR
This is where the screenshots were getting saved before the issue:
$HOME/Pictures/Screenshot
This is where the screenshots are getting saved now:
$HOME/Pictures
And just for the record, I do have my HYPRSHOT_DIR variable set.
same here, used to work before but now no matter what i do in environment variable it saves in ~/Pictures
same here!
Same here! No matter how many times I set the location as an environment variable, it still saves either in my Pictures or Home directory.
a temporary solution would be editing the binding to something like this
bind = $mainMod SHIFT, S, exec, hyprshot -m output -o ~/Pictures/Screenshots/
Same here!
I just added the environment variable to my .zshrc and it worked. I also use absolute path e.g /home/username/Pictures/Screenshots/
Same issue here. Env var is set, full path. Was working before as per other users.
I tried it again on a fresh install of Hyprland, and it looks like once you add the HYPRSHOT_DIR variable to your .bashrc, running hyprshot directly from the terminal saves screenshots in the correct directory but Hyprland doesn’t seem to respect it when using keybinds.
As a workaround, I just hardcoded the output path in my Hyprland config:
# Screenshot Directory
$HYPRSHOT_DIR="$HOME/Pictures/screenshots"
# Screenshot a region
bind = $mainMod SHIFT, S, exec, hyprshot -m region -o $HYPRSHOT_DIR