diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-10-09 20:47:23 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-10-27 19:26:28 +0200 |
commit | 2809c08f34a03cebfc9fb9b9a1d2661ec80ca269 (patch) | |
tree | 1f67e8d2b7987dca615cd1400c4b6115dac4246d /fb.in | |
parent | 942fdab5b8d541fc405706c94d47d25c19caed29 (diff) |
Add support for config filev1.1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.in')
-rw-r--r-- | fb.in | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -28,6 +28,15 @@ case "`uname -s`" in ;; esac +if [ -z "$XDG_CONFIG_HOME" ]; then + XDG_CONFIG_HOME="$HOME/.config" +fi + +config_file="$XDG_CONFIG_HOME/fb-client/config" +if [ -e "$config_file" ]; then + . "$config_file" +fi + version="@VERSION@" delete= extension="" |