aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-09-05 19:22:30 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-09-05 19:22:30 +0200
commitb9013fb779379c502b7707169eeac7dc15cfdd51 (patch)
tree8823d05881095396d90c12b01339d1c0acadc143 /examples
parentac0be803633a44848f931d43bfd7f9f0faaaa1c4 (diff)
move 'uzbl' to more specific 'uzbl-core' program, and add 'uzbl-browser' script which wraps around it to make the browser
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/data/uzbl/scripts/session.sh8
-rwxr-xr-xexamples/data/uzbl/scripts/uzbl_tabbed.py2
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/data/uzbl/scripts/session.sh b/examples/data/uzbl/scripts/session.sh
index 22d48a2..1059b5e 100755
--- a/examples/data/uzbl/scripts/session.sh
+++ b/examples/data/uzbl/scripts/session.sh
@@ -1,18 +1,18 @@
#!/bin/sh
-# Very simple session manager for uzbl. When called with "endsession" as the
+# Very simple session manager for uzbl-browser. When called with "endsession" as the
# argument, it'll backup $sessionfile, look for fifos in $fifodir and
# instruct each of them to store their current url in $sessionfile and
# terminate themselves. Run with "launch" as the argument and an instance of
-# uzbl will be launched for each stored url. "endinstance" is used internally
+# uzbl-browser will be launched for each stored url. "endinstance" is used internally
# and doesn't need to be called manually at any point.
# Add a line like 'bind quit = /path/to/session.sh endsession' to your config
[ -d ${XDG_DATA_HOME:-$HOME/.local/share}/uzbl ] || exit 1
scriptfile=$0 # this script
-sessionfile=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/session # the file in which the "session" (i.e. urls) are stored
+sessionfile=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/browser-session # the file in which the "session" (i.e. urls) are stored
configfile=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/config # uzbl configuration file
-UZBL="uzbl -c $configfile" # add custom flags and whatever here.
+UZBL="uzbl-browser -c $configfile" # add custom flags and whatever here.
fifodir=/tmp # remember to change this if you instructed uzbl to put its fifos elsewhere
thisfifo="$4"
diff --git a/examples/data/uzbl/scripts/uzbl_tabbed.py b/examples/data/uzbl/scripts/uzbl_tabbed.py
index 9ffa97d..feae9b9 100755
--- a/examples/data/uzbl/scripts/uzbl_tabbed.py
+++ b/examples/data/uzbl/scripts/uzbl_tabbed.py
@@ -945,7 +945,7 @@ class UzblTabbed:
uri = "--uri %r" % uri
self.tabs[tab] = uzbl
- cmd = 'uzbl -s %s -n %s_%0.2d %s &' % (sid, self.wid, pid, uri)
+ cmd = 'uzbl-browser -s %s -n %s_%0.2d %s &' % (sid, self.wid, pid, uri)
subprocess.Popen([cmd], shell=True) # TODO: do i need close_fds=True ?
# Add gobject timer to make sure the config is pushed when fifo socket