diff options
Diffstat (limited to 'examples/scripts')
-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 |
4 files changed, 4 insertions, 4 deletions
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" |