mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
Support $XDG_CONFIG_HOME
This commit is contained in:
parent
f147399888
commit
b00ddfa0e3
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
# (sometimes I forget to turn on the monitor when I start my PC, so this is better than having a crontab)
|
||||
|
||||
# location of the config file
|
||||
confdir="/home/sintan/.config"
|
||||
[ -z "$XDG_CONFIG_HOME" ] && confdir="/home/sintan/.config" || confdir="$XDG_CONFIG_HOME"
|
||||
|
||||
# read from the config file
|
||||
if test -f $confdir/latlong.toml ; then
|
||||
|
|
Loading…
Reference in a new issue