From c738a2d91fd48c52b171f0fdb983e8b308d315f3 Mon Sep 17 00:00:00 2001 From: DuClare Date: Sat, 16 May 2009 17:35:18 +0300 Subject: Adapt clipboard.sh for new cfg system --- examples/scripts/clipboard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/scripts/clipboard.sh b/examples/scripts/clipboard.sh index c64b65c..e13f053 100755 --- a/examples/scripts/clipboard.sh +++ b/examples/scripts/clipboard.sh @@ -9,7 +9,7 @@ selection=$(xclip -o) case $action in "yank" ) echo -n "$url" | xclip;; - "goto" ) echo "uri $selection" > "$fifo";; + "goto" ) echo "act uri $selection" > "$fifo";; * ) echo "clipboard.sh: invalid action";; esac -- cgit v1.2.3 From ff86e511bda0313edbb6ead21415747b8eb88d29 Mon Sep 17 00:00:00 2001 From: DuClare Date: Sat, 16 May 2009 17:58:18 +0300 Subject: Replace cmd with act in scripts --- examples/scripts/load_url_from_bookmarks.sh | 4 ++-- examples/scripts/load_url_from_history.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/scripts/load_url_from_bookmarks.sh b/examples/scripts/load_url_from_bookmarks.sh index 5ceb52e..821b136 100755 --- a/examples/scripts/load_url_from_bookmarks.sh +++ b/examples/scripts/load_url_from_bookmarks.sh @@ -18,5 +18,5 @@ else goto=`awk '{print $1}' $file | $DMENU` fi -#[ -n "$goto" ] && echo "cmd uri $goto" > $4 -[ -n "$goto" ] && uzblctrl -s $5 -c "cmd uri $goto" +#[ -n "$goto" ] && echo "act uri $goto" > $4 +[ -n "$goto" ] && uzblctrl -s $5 -c "act uri $goto" diff --git a/examples/scripts/load_url_from_history.sh b/examples/scripts/load_url_from_history.sh index f79a058..cf2ceb2 100755 --- a/examples/scripts/load_url_from_history.sh +++ b/examples/scripts/load_url_from_history.sh @@ -17,5 +17,5 @@ else current=`tail -n 1 $history_file | awk '{print $3}'`; goto=`(echo $current; awk '{print $3}' $history_file | grep -v "^$current\$" | sort -u) | $DMENU` fi -#[ -n "$goto" ] && echo "cmd uri $goto" > $4 -[ -n "$goto" ] && uzblctrl -s $5 -c "cmd uri $goto" +#[ -n "$goto" ] && echo "act uri $goto" > $4 +[ -n "$goto" ] && uzblctrl -s $5 -c "act uri $goto" -- cgit v1.2.3