this post was submitted on 19 Feb 2025
3 points (100.0% liked)

Hyprland Desktop Environment

377 readers
5 users here now

An (unnoficial) Hyprland Community in the new Land!
You can share and help each other when using Hyprland here.. :)

Resources:

founded 2 years ago
MODERATORS
 

[SOLVED] can't set up the Hyprshot dir

I'm trying to set the Hyprshot dir to /home/wonderfox/Screenshots so it won't clog up my Pictures folder with screenshots but for some reason it won't work, it keeps saving screenshots to my Pictures dir

I have added export HYPRSHOT_DIR=/home/wonderfox/Screenshots to my .bashrc and env = HYPRSHOT_DIR,/home/wonderfox/Screenshots to my hyprland.conf

what am I doing wrong?

@[email protected]

#Hyprland #Hyprshot

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 4 days ago (1 children)
[–] [email protected] 1 points 4 days ago (1 children)

@wonderfox_dev
Okay, if launch hyprshot from terminal, not using keybind it still saves to Pictures?
@hyprland

[–] [email protected] 1 points 4 days ago (1 children)

@[email protected] @[email protected] when launched from terminal, it saves screenshots to their designated directory

[–] [email protected] 2 points 4 days ago (1 children)

@wonderfox_dev
After setting env HYPRSHOT_DIR in config did you restarted hyprland? Because afaik it doesnt change envs when running unlike binds and rules
@hyprland

[–] [email protected] 1 points 4 days ago

@[email protected] @[email protected] it worked, thank you! it's just that Hyprland reloads with new config every time after it's changed and I thought it would update the variables too lol

:mikulove: