diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-29 22:46:08 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-29 22:46:08 +0200 |
commit | 092201fa92e498a8bcc6fc824fcf179adc8c43fa (patch) | |
tree | ea34a248156a336bac056bb8169da963d76f005d /examples | |
parent | 564b58fa836aa239870f9053ba5b2439f5da16b6 (diff) |
merging fifo support back in :/ experimental! (doesnt work)
Diffstat (limited to 'examples')
-rw-r--r-- | examples/configs/sampleconfig | 1 | ||||
-rw-r--r-- | examples/configs/sampleconfig-dev | 1 | ||||
-rwxr-xr-x | examples/scripts/download.sh | 2 | ||||
-rwxr-xr-x | examples/scripts/history.sh | 2 | ||||
-rwxr-xr-x | examples/scripts/load_url_from_bookmarks.sh | 2 | ||||
-rwxr-xr-x | examples/scripts/load_url_from_history.sh | 2 |
6 files changed, 6 insertions, 4 deletions
diff --git a/examples/configs/sampleconfig b/examples/configs/sampleconfig index 9fba5b7..9796859 100644 --- a/examples/configs/sampleconfig +++ b/examples/configs/sampleconfig @@ -13,6 +13,7 @@ [behavior] history_handler = /bin/bash /usr/share/uzbl/examples/scripts/history.sh download_handler = /bin/bash /usr/share/uzbl/examples/scripts/download.sh +fifo_dir = /tmp socket_dir = /tmp always_insert_mode = 0 modkey = Mod1 diff --git a/examples/configs/sampleconfig-dev b/examples/configs/sampleconfig-dev index 0d8bdd3..d742147 100644 --- a/examples/configs/sampleconfig-dev +++ b/examples/configs/sampleconfig-dev @@ -13,6 +13,7 @@ [behavior] history_handler = /bin/bash ./examples/scripts/history.sh download_handler = /bin/bash ./examples/scripts/download.sh +fifo_dir = /tmp socket_dir = /tmp always_insert_mode = 0 modkey = Mod1 diff --git a/examples/scripts/download.sh b/examples/scripts/download.sh index ff3d8db..41c408e 100755 --- a/examples/scripts/download.sh +++ b/examples/scripts/download.sh @@ -1,2 +1,2 @@ #!/bin/bash -wget $5 +wget $6 diff --git a/examples/scripts/history.sh b/examples/scripts/history.sh index 03c568a..b6671fe 100755 --- a/examples/scripts/history.sh +++ b/examples/scripts/history.sh @@ -1,4 +1,4 @@ #!/bin/bash #TODO: strip 'http://' part # you probably really want this in your $XDG_DATA_HOME (eg $HOME/.local/share/uzbl/history) -echo "$7 $5" >> /tmp/uzbl.history +echo "$8 $6" >> /tmp/uzbl.history diff --git a/examples/scripts/load_url_from_bookmarks.sh b/examples/scripts/load_url_from_bookmarks.sh index d13b990..2a893bf 100755 --- a/examples/scripts/load_url_from_bookmarks.sh +++ b/examples/scripts/load_url_from_bookmarks.sh @@ -10,4 +10,4 @@ fi goto=`awk '{print $1}' $file | dmenu -i` #NOTE: it's the job of the script that inserts bookmarks to make sure there are no dupes. #[ -n "$goto" ] && echo "uri $goto" > $4 -[ -n "$goto" ] && uzblctrl -s $4 -c "uri $goto" +[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto" diff --git a/examples/scripts/load_url_from_history.sh b/examples/scripts/load_url_from_history.sh index cab4529..81a220a 100755 --- a/examples/scripts/load_url_from_history.sh +++ b/examples/scripts/load_url_from_history.sh @@ -4,4 +4,4 @@ history_file=/tmp/uzbl.history goto=`awk '{print $3}' $history_file | sort | uniq | dmenu -i` #[ -n "$goto" ] && echo "uri $goto" > $4 -[ -n "$goto" ] && uzblctrl -s $4 -c "uri $goto" +[ -n "$goto" ] && uzblctrl -s $5 -c "uri $goto" |