Skip to content

Commit 2bf259a

Browse files
committed
install: use XDG_CONFIG_HOME if available
1 parent 85621f5 commit 2bf259a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/sh
2-
CSDIR="$HOME/.config/geany/colorschemes/"
3-
echo "Installing themes into \`$CSDIR'..."
2+
3+
CSDIR="${XDG_CONFIG_HOME:-$HOME/.config}/geany/colorschemes/"
4+
echo "Installing themes into '$CSDIR'..."
45
mkdir -p "$CSDIR"
56
for SCHEME in `ls colorschemes/*.conf`
67
do

0 commit comments

Comments
 (0)