summaryrefslogtreecommitdiffstats
path: root/fb.in
diff options
context:
space:
mode:
Diffstat (limited to 'fb.in')
-rw-r--r--fb.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/fb.in b/fb.in
index 6afab40..8e74deb 100644
--- a/fb.in
+++ b/fb.in
@@ -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=""