diff options
author | Barrucadu <mike@barrucadu.co.uk> | 2009-04-27 21:04:34 +0100 |
---|---|---|
committer | Barrucadu <mike@barrucadu.co.uk> | 2009-04-27 21:04:34 +0100 |
commit | 33c016f2e4be17a9afc03f5032bdc813ef66b373 (patch) | |
tree | 08a7b406ed4662ad27718a49e169abb81b268a48 | |
parent | 0520d32e70971f93830c8dc51f7bb49e70bf3c51 (diff) | |
parent | c5523c7882cbd37b3c117ba178b44b751d0b65cd (diff) |
Merge branch 'dieter/experimental' into experimental
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | README | 10 | ||||
-rw-r--r-- | TODO | 1 | ||||
-rwxr-xr-x | examples/scripts/insert_bookmark.sh | 3 | ||||
-rwxr-xr-x | examples/scripts/load_url_from_bookmarks.sh | 2 |
5 files changed, 15 insertions, 2 deletions
@@ -20,4 +20,5 @@ install: install -d $(DESTDIR)/usr/share/uzbl/examples install -D -m755 uzbl $(DESTDIR)/usr/bin/uzbl cp -ax examples $(DESTDIR)/usr/share/uzbl/ + install -D -m644 CHECKLIST $(DESTDIR)/usr/share/uzbl/docs install -D -m644 README $(DESTDIR)/usr/share/uzbl/docs @@ -1,3 +1,13 @@ +TO NEW PEOPLE: + - please read the README in /usr/share/uzbl/docs + - invoke uzbl --help + - to get you started: uzbl --uri 'http://www.archlinux.org' --config /usr/share/uzbl/examples/configs/sampleconfig + - study the sample config, have a look at all the bindings, and note how you can call the scripts to load new url from history and the bookmarks file + - inserting new bookmarks is not working yet. it will be soon. + - note that there is no url bar. all url editing is supposed to happen _outside_ of uzbl. + for now, you can use the load_from_* dmenu based scripts to pick a url or type a new one (soon there will be a decent url editor addon) or write commands into the fifo (see /usr/share/uzbl/docs/CHECKLIST) + + - Uzbl. In my opinion, any program can only be really useful if it complies to the unix philosophy. Web browsers are frequent violators of this principle. Time to change that! @@ -1,4 +1,5 @@ ASAP +* do a clean implementation of bindings that need arguments (eg insert_bookmark needs the uri.) * implement all the ideas from README * get a logo diff --git a/examples/scripts/insert_bookmark.sh b/examples/scripts/insert_bookmark.sh index af6ca8a..be17c05 100755 --- a/examples/scripts/insert_bookmark.sh +++ b/examples/scripts/insert_bookmark.sh @@ -1,8 +1,9 @@ #!/bin/bash # you probably want your bookmarks file in your $XDG_DATA_HOME ( eg $HOME/.local/share/uzbl/bookmarks) + if [ -f /usr/share/uzbl/examples/bookmarks ] then - file=/usr/share/uzbl/examples/bookmarks + file=/usr/share/uzbl/examples/bookmarks # you will probably get permission denied errors here. pick a file in your ~ else file=./examples/bookmarks #useful when developing fi diff --git a/examples/scripts/load_url_from_bookmarks.sh b/examples/scripts/load_url_from_bookmarks.sh index fd9179e..ca512eb 100755 --- a/examples/scripts/load_url_from_bookmarks.sh +++ b/examples/scripts/load_url_from_bookmarks.sh @@ -8,5 +8,5 @@ else file=./examples/bookmarks #useful when developing fi -goto=`awk '{print $1}' $history_file | dmenu` #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes. +goto=`awk '{print $1}' $file | dmenu` #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes. [ -n "$goto" ] && echo "uri $goto" > $4 |