mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
grimshot: fix POSIX compliance
source is not POSIX compliant, '.' is. https://stackoverflow.com/a/11588629
This commit is contained in:
parent
62e28f6129
commit
21b77f376d
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
getTargetDirectory() {
|
getTargetDirectory() {
|
||||||
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \
|
test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \
|
||||||
source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
|
. ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
|
||||||
|
|
||||||
echo ${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}}
|
echo ${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user