1
0
Fork 0
forked from ahurac/dotfiles

glurp : changement du dossier contenant les screenshots

This commit is contained in:
Hippolyte Chauvin 2023-12-01 22:15:49 +01:00
parent 25c46efab9
commit 347782d594

View file

@ -66,7 +66,7 @@ case "$1" in
grim_args+=(-) grim_args+=(-)
;; ;;
file) file)
grim_args+=("$(screenshot_path "/tmp/${USER}")") grim_args+=("$(screenshot_path "${XDG_RUN_TIME_DIR:-/tmp/$(whoami)}/screenshots")")
;; ;;
*) *)
false false
@ -81,4 +81,3 @@ EOF
trap clean EXIT trap clean EXIT
sh -s < "${temp_files[command_to_source]}" sh -s < "${temp_files[command_to_source]}"