diff options
author | Brendan Taylor <whateley@gmail.com> | 2010-11-30 20:20:02 -0700 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2010-11-30 20:32:20 -0700 |
commit | e1bff5432860622327dc8d81b8f9ef374588c5cb (patch) | |
tree | 485e97a0fe881b25003630766656961b2109a1f2 /examples/config | |
parent | 212ab31b4b3161995968a312546e156cafa4e8d1 (diff) |
remove parseenv().
it's not documented, it doesn't do anything that @(echo $X)@ can't, and
it's not very efficient (it iterates through the entire environment
every time an event is sent)
Diffstat (limited to 'examples/config')
-rw-r--r-- | examples/config/config | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/config/config b/examples/config/config index 22414ad..e282bb9 100644 --- a/examples/config/config +++ b/examples/config/config @@ -3,8 +3,10 @@ # === Core settings ========================================================== -# Install location prefix. -set prefix = /usr/local +# common directory locations +set prefix = @(echo $PREFIX)@ +set data_home = @(echo $XDG_DATA_HOME)@ +set cache_home = @(echo $XDG_CACHE_HOME)@ # Interface paths. set fifo_dir = /tmp @@ -34,13 +36,13 @@ set set_mode = set mode = set set_status = set status_message = # Spawn path shortcuts. In spawn the first dir+path match is used in "dir1:dir2:dir3:executable" -set scripts_dir = $XDG_DATA_HOME/uzbl:@prefix/share/uzbl/examples/data:scripts +set scripts_dir = @data_home/uzbl:@prefix/share/uzbl/examples/data:scripts # === Hardcoded handlers ===================================================== # These handlers can't be moved to the new event system yet as we don't # support events that can wait for a response from a script. -set cookie_handler = talk_to_socket $XDG_CACHE_HOME/uzbl/cookie_daemon_socket +set cookie_handler = talk_to_socket @cache_home/uzbl/cookie_daemon_socket set scheme_handler = sync_spawn @scripts_dir/scheme.py set authentication_handler = sync_spawn @scripts_dir/auth.py |