From b4258ad041b8e0c8102e57e662970c6c3afe56a6 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 15 Sep 2015 10:43:23 +0100 Subject: Clean uzbl configuration file --- .uzbl/config | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) (limited to '.uzbl/config') diff --git a/.uzbl/config b/.uzbl/config index d35c547..5de155e 100644 --- a/.uzbl/config +++ b/.uzbl/config @@ -285,10 +285,8 @@ set ebind = @mode_bind global,-insert @cbind p = hardcopy # Web searching binds -@cbind l_ = uri http://www.google.co.uk/search?q=\@\@ @cbind ddg_ = uri http://duckduckgo.com/?q=%s -@cbind \\awiki_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@\@&go=Go -@cbind \\wiki_ = uri http://en.wikipedia.org/w/index.php?title=Special:Search&search=\@\@&go=Go +@cbind go_ = uri http://google.com/?q=%s # Handy binds @cbind s__ = set %1 = %2 @@ -310,7 +308,7 @@ set ebind = @mode_bind global,-insert @cbind i = @set_mode insert # Hard-bound bookmarks -@cbind gh = uri http://www.google.co.uk +@cbind gh = uri http://www.duckduckgo.com # New window binds @cbind t = event REQ_NEW_WINDOW @@ -451,44 +449,6 @@ sync_spawn_exec @scripts_dir/load_cookies.sh @data_home/uzbl/session-cookies.txt # Set the "home" page. set uri = uzbl.org/doesitwork/@COMMIT -# Custom configuration -bind \sr_ = sh 'echo "set uri = $(surfraw -print %s)" > $4' -bind \gg_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' google -bind \google_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' google -bind \glucky_ = sh 'echo "set uri = $(surfraw -print $8 -l %s)" > $4' google -bind \gi_ = sh 'echo "set uri = $(surfraw -print $8 -search=$9 %s)" > $4' google images -bind \gimage_ = sh 'echo "set uri = $(surfraw -print $8 -search=$9 %s)" > $4' google images -bind \glinux_ = sh 'echo "set uri = $(surfraw -print $8 -search=$9 %s)" > $4' google linux -bind \gbsd_ = sh 'echo "set uri = $(surfraw -print $8 -search=$9 %s)" > $4' google bsd -bind \gusa_ = sh 'echo "set uri = $(surfraw -print $8 -search=$9 %s)" > $4' google unclesam -bind \wiki_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' wikipedia -bind \imdb_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' imdb -bind \aur_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' aur -bind \freshmeat_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' freshmeat -bind \weather_ = sh 'echo "set uri = $(surfraw -print $8 %s)" > $4' weather - -bind 'sr _ = sh 'surfraw -g %s' -bind 'gg _ = sh 'surfraw -g $8 %s' google -bind 'google _ = sh 'surfraw -g $8 %s' google -bind 'glucky _ = sh 'surfraw -g $8 -l %s' google -bind 'gi _ = sh 'surfraw -g $8 -search=$9 %s' google images -bind 'gimage _ = sh 'surfraw -g $8 -search=$9 %s' google images -bind 'glinux _ = sh 'surfraw -g $8 -search=$9 %s' google linux -bind 'gbsd _ = sh 'surfraw -g $8 -search=$9 %s' google bsd -bind 'gusa _ = sh 'surfraw -g $8 -search=$9 %s' google unclesam -bind 'wiki _ = sh 'surfraw -g $8 %s' wikipedia -bind 'imdb _ = sh 'surfraw -g $8 %s' imdb -bind 'aur _ = sh 'surfraw -g $8 %s' aur -bind 'freshmeat _ = sh 'surfraw -g $8 %s' freshmeat -bind 'weather _ = sh 'surfraw -g $8 %s' weather - -# Custom binds -@cbind gu = spawn @scripts_dir/test.sh -@cbind gU = spawn @scripts_dir/mytest.sh -@cbind ytdl = sh '$HOME/dotfiles/.uzbl/scripts/ytdl.sh "$UZBL_URI"' -# @bind o = sh 'uri=`$HOME/dotfiles/.uzbl/scripts/load_url_from_surfraw.sh` && echo "uri $uri" > $4' -# @cbind t = sh 'uri=`$HOME/dotfiles/.uzbl/scripts/load_url_from_surfraw.sh` && echo "event REQ_NEW_WINDOW $uri" > "$UZBL_FIFO"' - @on_event DOWNLOAD_COMPLETE spawn @scripts_dir/downloadviewer.sh %s @on_event LOAD_COMMIT spawn @scripts_dir/adblock.py # vim: set fdm=syntax: -- cgit v1.2.3