aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-16 12:29:34 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-16 12:29:34 +0100
commit9493f0fd32d416ea7458f2a66d8d96ae041166d4 (patch)
treec5df41eece4f186745e18e55f409221a0526bbd9 /config
parenteca6abb0b41963cc7fc9ea9a1b365f6c6626fc68 (diff)
downloaddotfiles-9493f0fd32d416ea7458f2a66d8d96ae041166d4.tar.gz
dotfiles-9493f0fd32d416ea7458f2a66d8d96ae041166d4.tar.bz2
dotfiles-9493f0fd32d416ea7458f2a66d8d96ae041166d4.zip
uzbl improvent and cpu in %
Diffstat (limited to 'config')
-rw-r--r--config/uzbl/config13
-rwxr-xr-xconfig/uzbl/scripts/gonew.pl2
-rwxr-xr-xconfig/uzbl/scripts/goto.pl2
3 files changed, 10 insertions, 7 deletions
diff --git a/config/uzbl/config b/config/uzbl/config
index c83ccd9..0cc3083 100644
--- a/config/uzbl/config
+++ b/config/uzbl/config
@@ -94,6 +94,7 @@ set download_handler = sync_spawn /home/vasko/.config/uzbl/scripts/download.s
@on_event LOAD_COMMIT js uzbl = {};
@on_event LOAD_COMMIT script @scripts_dir/formfiller.js
@on_event LOAD_COMMIT script @scripts_dir/follow.js
+#@on_event LOAD_COMMIT script /home/vasko/.config/uzbl/scripts/privacy.js
# Userscripts/per-site-settings. See the script and the example configuration for details
#@on_event LOAD_COMMIT spawn @scripts_dir/per-site-settings.py @data_home/uzbl/per-site-settings
@@ -156,7 +157,9 @@ set progress.pending =
# === Useragent setup ========================================================
#set useragent = Uzbl (Webkit @{WEBKIT_MAJOR}.@{WEBKIT_MINOR}) (@(+uname -sm)@ [@ARCH_UZBL])
-set useragent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.75.14 (KHTML, like Gecko) Version/7.0.3 Safari/7046A194A
+set useragent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.2.5 (KHTML, like Gecko) Version/8.0.2 Safari/600.2.5
+#set useragent = Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0
+
# === Configure cookie blacklist ========================================================
# Accept 'session cookies' from uzbl.org (when you have a whitelist all other cookies are dropped)
@@ -309,10 +312,10 @@ set ebind = @mode_bind global,-insert
@cbind <Ctrl>p = hardcopy
# Web searching binds
-@cbind d<Search:>_ = uri http://www.google.com/search?q=\@<encodeURIComponent(%r)>\@
+@cbind d<Search:>_ = uri https://encrypted.google.com/search?q=\@<encodeURIComponent(%r)>\@&hl=en
#@cbind dg<DuckDuckGo:>_ = uri http://duckduckgo.com/?q=%s
-@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
+@cbind a<Archwiki:>_ = uri https://wiki.archlinux.org/index.php/Special:Search?search=\@<encodeURIComponent(%r)>\@&go=Go
+@cbind \\wiki<Wikipedia:>_ = uri https://en.wikipedia.org/w/index.php?title=Special:Search&search=\@<encodeURIComponent(%r)>\@&go=Go
# Handy binds
# Set function shortcut
@@ -436,7 +439,7 @@ set formfiller = spawn @scripts_dir/formfiller.sh
@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 gof = uri https://m.facebook.com/
@cbind go9 = uri https://www.9gag.com/
# Closing / resting
diff --git a/config/uzbl/scripts/gonew.pl b/config/uzbl/scripts/gonew.pl
index aab4344..33dac82 100755
--- a/config/uzbl/scripts/gonew.pl
+++ b/config/uzbl/scripts/gonew.pl
@@ -8,7 +8,7 @@ my $fifo = $ENV{'UZBL_FIFO'};
if (index(@cmd[0], '.') == -1 || scalar @cmd > 1)
{
# Replace this with your search engine
- qx(uzbl-browser --uri "http://www.google.com/search?q=@ARGV");
+ qx(uzbl-browser --uri "https://encrypted.google.com/search?q=@ARGV&hl=en");
}
else
{
diff --git a/config/uzbl/scripts/goto.pl b/config/uzbl/scripts/goto.pl
index ea7269e..b1630d4 100755
--- a/config/uzbl/scripts/goto.pl
+++ b/config/uzbl/scripts/goto.pl
@@ -8,7 +8,7 @@ my $fifo = $ENV{'UZBL_FIFO'};
if (index(@cmd[0], '.') == -1 || scalar @cmd > 1)
{
# Replace this with your search engine
- qx(echo "uri http://www.google.com/search?q=@ARGV" >> $fifo);
+ qx(echo "uri https://encrypted.google.com/search?q=@ARGV&hl=en" >> $fifo);
}
else
{