diff options
author | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-02-15 00:03:26 +0100 |
---|---|---|
committer | Vasil Zlatanov <vasil.zlatanov@gmail.com> | 2015-02-15 00:03:26 +0100 |
commit | 69fa10952ab31f16db8ceba59186564bb91b0f0c (patch) | |
tree | 5caa83065630a737dccf490bac6649101bddc565 /config/uzbl | |
parent | 3a75ae21b05ec3457069b214731eed6bb491d640 (diff) | |
download | dotfiles-69fa10952ab31f16db8ceba59186564bb91b0f0c.tar.gz dotfiles-69fa10952ab31f16db8ceba59186564bb91b0f0c.tar.bz2 dotfiles-69fa10952ab31f16db8ceba59186564bb91b0f0c.zip |
slight uzbl fixes
Diffstat (limited to 'config/uzbl')
-rw-r--r-- | config/uzbl/config | 21 | ||||
-rwxr-xr-x | config/uzbl/scripts/gonew.pl | 4 |
2 files changed, 19 insertions, 6 deletions
diff --git a/config/uzbl/config b/config/uzbl/config index c69255e..ded6bf2 100644 --- a/config/uzbl/config +++ b/config/uzbl/config @@ -295,7 +295,7 @@ set ebind = @mode_bind global,-insert # Appearance binds #@cbind t = toggle show_status -@cbind t<tab:>_ = spawn /home/vasko/.config/uzbl/scripts/gonew.pl %s +@cbind t<new:>_ = spawn /home/vasko/.config/uzbl/scripts/gonew.pl %s # Page searching binds @@ -311,7 +311,7 @@ set ebind = @mode_bind global,-insert # Web searching binds @cbind d<Search:>_ = uri http://www.google.com/search?q=\@<encodeURIComponent(%r)>\@ #@cbind dg<DuckDuckGo:>_ = uri http://duckduckgo.com/?q=%s -@cbind \\awiki<Archwiki:>_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@<encodeURIComponent(%r)>\@&go=Go +@cbind a<Archwiki:>_ = uri http://wiki.archlinux.org/index.php/Special:Search?search=\@<encodeURIComponent(%r)>\@&go=Go @cbind \\wiki<Wikipedia:>_ = uri http://en.wikipedia.org/w/index.php?title=Special:Search&search=\@<encodeURIComponent(%r)>\@&go=Go # Handy binds @@ -320,6 +320,7 @@ set ebind = @mode_bind global,-insert # Exit binding @cbind ZZ = exit @cbind :wq = exit +@cbind :_ = %s # Dump config to stdout @cbind !dump = sh 'echo dump_config > "$UZBL_FIFO"' # Reload all variables in the config @@ -423,8 +424,20 @@ set formfiller = spawn @scripts_dir/formfiller.sh # Tab opening @cbind gn = event NEW_TAB @cbind gN = event NEW_TAB_NEXT -@cbind go<uri:>_ = event NEW_TAB %s -@cbind gO<uri:>_ = event NEW_TAB_NEXT %s +#@cbind go<uri:>_ = event NEW_TAB %s +#@cbind gO<uri:>_ = event NEW_TAB_NEXT %s +@cbind gop = uri https://sites.google.com/a/skola.malmo.se/ib12-physics-hl/ +@cbind gob = uri https://sites.google.com/a/skola.malmo.se/ib12slbio/ +@cbind goc = uri https://sites.google.com/a/skola.malmo.se/hl-chemistry-ib12/ +@cbind goe = uri https://sites.google.com/a/skola.malmo.se/langlit-ib12/ +@cbind gos = uri https://sites.google.com/a/skola.malmo.se/swedish-b-ib12/ +@cbind got = uri https://sites.google.com/a/skola.malmo.se/wrtok/ +@cbind gom = uri https://sites.google.com/a/skola.malmo.se/ib-maths-hl/ +@cbind goo = uri http://organizer.eu5.org/ +@cbind goh = uri https://vaskozl.no-ip.biz/ +@cbind gog = uri https://www.gmail.com/ +@cbind gof = uri https://www.facebook.com/ +@cbind go9 = uri https://www.9gag.com/ # Closing / resting @cbind x = exit diff --git a/config/uzbl/scripts/gonew.pl b/config/uzbl/scripts/gonew.pl index 480dc4f..aab4344 100755 --- a/config/uzbl/scripts/gonew.pl +++ b/config/uzbl/scripts/gonew.pl @@ -8,9 +8,9 @@ my $fifo = $ENV{'UZBL_FIFO'}; if (index(@cmd[0], '.') == -1 || scalar @cmd > 1) { # Replace this with your search engine - qx(echo "event new_tab http://www.google.com/search?q=@ARGV" > $fifo); + qx(uzbl-browser --uri "http://www.google.com/search?q=@ARGV"); } else { - qx(echo "event new_tab @cmd" > $fifo); + qx(uzbl-browser --uri @cmd"); } |