====== Me ======
Hello, I'm Barrucadu - lesser known as Michael Walker, I'm one of the uzbl devs, and (off the top of my head), have contributed mostly to:
* Settings loading
* Expanding of environmental variables
* Implementation of the XDG basedir spec
* A few utility bits of code (the first string replace, and read_file_by_line functions)
* Loading external JS files
* Adding a tonne of "if (uzbl.state.verbose)" lines before output
* ...and introducing masses of bugs caused by not testing properly :p
I'm 17, and half way through my A levels. My website is [[http://www.barrucadu.co.uk|barrucadu.co.uk]]. You can find the latest version of anything on this page on my [[http://github.com/Barrucadu/home/tree/master|Github repo]].
====== Uzbl ======
===== Config File =====
http://github.com/barrucadu/home/tree/master/.config/uzbl
===== Scripts =====
=== Tagged History ===
== Description ==
What this does is offer you a choice of tags to save your bookmark under, from a file $XDG_DATA_HOME/uzbl/bookmarks.tags, and then saves the bookmark in a file $XDG_DATA_HOME/uzbl/bookmarks in the format "[tag] [time]: [url]". If the tag was not found in the bookmarks.tags file, it adds it, so you can quickly add more bookmarks to the same category. Multiple tags can be used - but will get added as multiple entries to the tags file.
== add_url_to_bookmarks.sh ==
#!/bin/bash
bookmarks_file=$XDG_DATA_HOME/uzbl/bookmarks
bookmarks_tags=$XDG_DATA_HOME/uzbl/bookmarks.tags
COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030"
OPTIONS=" -i -xs -rs -l 10"
tag=`< $bookmarks_tags dmenu $OPTIONS $COLORS`
if [[ -n $tag ]] && [[ -n $7 ]] && [[ -n $6 ]];
then
if grep $tag $bookmarks_tags &>/dev/null;
then
echo "Tag found in $bookmarks_tags" > /dev/null # NOP :)
else
# Add tag
echo $tag >> $bookmarks_tags
sort $bookmarks_tags > /tmp/tags
mv /tmp/tags $bookmarks_tags
fi
echo "[$tag] $7: $6" >> $bookmarks_file
fi
== load_url_from_bookmarks.sh ==
#!/bin/bash
bookmarks_file=$XDG_DATA_HOME/uzbl/bookmarks
COLORS=" -nb #303030 -nf khaki -sb #CCFFAA -sf #303030"
OPTIONS=" -i -xs -rs -l 10"
goto=`sort $bookmarks_file | dmenu $OPTIONS $COLORS | cut -d ' ' -f -100 | awk '{print $NF}'`
[ -n "$goto" ] && uzblctrl -s $5 -c "act uri $goto"
===== Screenshot =====
[[http://www.barrucadu.co.uk/screenshot.php?s=2009-05-27|{{http://www.barrucadu.co.uk/screenshots/thumb-big/2009-05-27.png}}]]