[SOLVED] can’t set up the Hyprshot dir

[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?

@hyprland@lemmy.world

#Hyprland #Hyprshot

3 points · 6 comments · view on lemmy.world

6 Comments

WildPowerHammer@mastodon.ml · 1 pts · 1y (5 replies)

@wonderfox_dev
Just to be sure, ~/Screenshots already exists? And "ls $HYPRSHOT_DIR" works without complaining?
@hyprland

wonderfox_dev@suya.place · 1 pts · 1y (4 replies)

@WildPowerHammer@mastodon.ml @hyprland@lemmy.world yes to both

WildPowerHammer@mastodon.ml · 1 pts · 1y (3 replies)

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

wonderfox_dev@suya.place · 1 pts · 1y (2 replies)

@WildPowerHammer@mastodon.ml @hyprland@lemmy.world when launched from terminal, it saves screenshots to their designated directory

WildPowerHammer@mastodon.ml · 2 pts · 1y (1 reply)

@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

wonderfox_dev@suya.place · 1 pts · 1y

@WildPowerHammer@mastodon.ml @hyprland@lemmy.world 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: