mirror of
https://github.com/vinceliuice/Colloid-gtk-theme.git
synced 2025-09-16 05:18:38 -07:00
add xdg_base_dir support placing theme in appropiate folder.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user