Add $QUTE_CONFIG_DIR for userscripts (#937)

This commit is contained in:
Jan Verbeek 2016-06-27 22:16:25 +02:00
parent 72e5bf35e1
commit 7c350a29d5

View File

@ -376,6 +376,7 @@ def run(cmd, *args, win_id, env, verbose=False):
user_agent = config.get('network', 'user-agent')
if user_agent is not None:
env['QUTE_USER_AGENT'] = user_agent
env['QUTE_CONFIG_DIR'] = standarddir.config()
cmd_path = os.path.expanduser(cmd)
# if cmd is not given as an absolute path, look it up