Skip to content

Commit f1b68f1

Browse files
committed
Merge branch 'main' of github.com:Gustash/hyprshot into fix/window-cropping
2 parents fa9768c + f08497d commit f1b68f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hyprshot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ SILENT=0
244244
RAW=0
245245
NOTIF_TIMEOUT=5000
246246
CURRENT=0
247+
[ -z "$XDG_PICTURES_DIR" ] && type xdg-user-dir &> /dev/null && XDG_PICTURES_DIR=$(xdg-user-dir PICTURES)
247248
FILENAME="$(date +'%Y-%m-%d-%H%M%S_hyprshot.png')"
248249
[ -z "$HYPRSHOT_DIR" ] && SAVEDIR=${XDG_PICTURES_DIR:=~} || SAVEDIR=${HYPRSHOT_DIR}
249250

0 commit comments

Comments
 (0)