aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/grimshot
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/grimshot')
-rwxr-xr-xcontrib/grimshot4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/grimshot b/contrib/grimshot
index d42fe9d8..1ec19def 100755
--- a/contrib/grimshot
+++ b/contrib/grimshot
@@ -13,8 +13,8 @@
13## See `man 1 grimshot` or `grimshot usage` for further details. 13## See `man 1 grimshot` or `grimshot usage` for further details.
14 14
15getTargetDirectory() { 15getTargetDirectory() {
16 test -f "${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs" && \ 16 test -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" && \
17 . "${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs" 17 . "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
18 18
19 echo "${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}}" 19 echo "${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}}"
20} 20}