fix setting of default variable

This commit is contained in:
Rasmus Steinke 2020-01-01 15:21:58 +01:00 committed by GitHub
parent 829d84988b
commit c711ede644
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
xdg=${${XDG_DATA_HOME}:-${HOME}/.local/share} xdg=${XDG_DATA_HOME:-${HOME}/.local/share}
DIRECTORY="${xdg}/rofi/themes/}" DIRECTORY="${xdg}/rofi/themes/}"
if [ ! -d "${DIRECTORY}" ] if [ ! -d "${DIRECTORY}" ]