diff options
author | Mason Larobina <mason.larobina@gmail.com> | 2010-03-18 17:09:41 +0800 |
---|---|---|
committer | Mason Larobina <mason.larobina@gmail.com> | 2010-03-18 17:09:41 +0800 |
commit | c6b056083f5b520d2b60e205791d406615bfbfce (patch) | |
tree | ea85ea6e3598e9543377014365318fbe0fae611a /examples | |
parent | 368be19a6eb52b665e60b6dec882be9294d8ce62 (diff) |
FS#206 Reload command should reload config variables only.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/config/config | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/config/config b/examples/config/config index df71e8b..1d2cf37 100644 --- a/examples/config/config +++ b/examples/config/config @@ -268,8 +268,9 @@ set preset = event PRESET_TABS @cbind ZZ = exit # Dump config to stdout @cbind !dump = sh "echo dump_config > $4" -# Reload config -@cbind !reload = sh "sed '/^# === Post-load misc commands/,$d' $1 > $4" +# Reload all variables in the config +@cbind !reload = sh "sed '/^# === Post-load misc commands/,$d' $1 | grep '^set ' > $4" + # Use socat to directly inject commands into uzbl-core and view events # raised by uzbl-core: @cbind <Ctrl><Alt>t = sh 'xterm -e "socat unix-connect:$5 -"' |