mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +01:00
grimshot: fix tilde expansion within quotes
This commit is contained in:
parent
a5a44ba95b
commit
9e879242fd
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
|||
## See `man 1 grimshot` or `grimshot usage` for further details.
|
||||
|
||||
getTargetDirectory() {
|
||||
test -f "${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs" && \
|
||||
. "${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs"
|
||||
test -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" && \
|
||||
. "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"
|
||||
|
||||
echo "${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue