From 9350236d497be03e9df441fe98f30bbc161ae6ab Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 27 Apr 2009 21:48:11 +0200 Subject: insert_bookmark related stuff --- README | 3 ++- TODO | 1 + examples/scripts/insert_bookmark.sh | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README b/README index 962bb31..3dedb25 100644 --- a/README +++ b/README @@ -2,7 +2,8 @@ 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 insert a bookmark, and load new url from history and the bookmarks file + - 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. right now you cannot just change the url as you please (we are working on that) for now, you can use the load_from scripts and write commands into the fifo (see /usr/share/uzbl/docs/CHECKLIST) diff --git a/TODO b/TODO index 8a0cb91..5b300e3 100644 --- a/TODO +++ b/TODO @@ -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 -- cgit v1.2.3