From 347782d5949d46fbc603a33a3e9c5e591de9ec67 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 1 Dec 2023 22:15:49 +0100 Subject: [PATCH] glurp : changement du dossier contenant les screenshots --- bin/glurp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/glurp b/bin/glurp index bc584ba..7bae1a9 100755 --- a/bin/glurp +++ b/bin/glurp @@ -66,7 +66,7 @@ case "$1" in grim_args+=(-) ;; file) - grim_args+=("$(screenshot_path "/tmp/${USER}")") + grim_args+=("$(screenshot_path "${XDG_RUN_TIME_DIR:-/tmp/$(whoami)}/screenshots")") ;; *) false @@ -81,4 +81,3 @@ EOF trap clean EXIT sh -s < "${temp_files[command_to_source]}" -