mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2024-10-18 05:20:35 -04:00
Merge pull request #173 from shadow-absorber/xdg-base-dir
add xdg_base_dir support placing theme in appropiate folder.
This commit is contained in:
commit
6e823240b3
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ window=
|
|||
# Destination directory
|
||||
if [ "$UID" -eq "$ROOT_UID" ]; then
|
||||
DEST_DIR="/usr/share/themes"
|
||||
elif [ -n "$XDG_DATA_HOME" ]; then
|
||||
DEST_DIR="$XDG_DATA_HOME/themes"
|
||||
else
|
||||
DEST_DIR="$HOME/.themes"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue