diff ui/trustbridge-tray-starter.sh @ 763:654a8ca9d5b4

Set config dir used by trustbridge-tray-starter at runtime.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Jul 2014 18:06:23 +0200
parents ea8d13590cbd
children a974b61a5cce
line wrap: on
line diff
--- a/ui/trustbridge-tray-starter.sh	Fri Jul 04 18:00:11 2014 +0200
+++ b/ui/trustbridge-tray-starter.sh	Fri Jul 04 18:06:23 2014 +0200
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 PREFIX=""
-CFGDIR=""
+CFGDIR="${XDG_CONFIG_HOME:-$HOME/.config}/BSI"
 TBCMD="trustbridge --tray"
 XSET=/usr/bin/xset
 CONFIG="$CFGDIR/trustbridge-tray-starter.cfg"

http://wald.intevation.org/projects/trustbridge/