aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/sxhkd/sxhkdrc2
-rw-r--r--config/uzbl/config29
-rwxr-xr-xconfig/uzbl/scripts/gonew.pl4
3 files changed, 24 insertions, 11 deletions
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index b6cf8a3..8f75f70 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -121,7 +121,7 @@ grave ; slash
~/.ratpoison/create_frame
super + u
- uzbl-tabbed
+ uzbl-browser
super + f
firefox
diff --git a/config/uzbl/config b/config/uzbl/config
index c69255e..c83ccd9 100644
--- a/config/uzbl/config
+++ b/config/uzbl/config
@@ -261,8 +261,8 @@ set ebind = @mode_bind global,-insert
# Page movement binds
@cbind j = scroll vertical 20
@cbind k = scroll vertical -20
-@cbind H = scroll horizontal -20
-@cbind L = scroll horizontal 20
+@cbind h = scroll horizontal -20
+@cbind l = scroll horizontal 20
@cbind <Page_Up> = scroll vertical -100%
@cbind <Page_Down> = scroll vertical 100%
@cbind <Ctrl>f = scroll vertical 100%
@@ -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
@@ -433,8 +446,8 @@ set formfiller = spawn @scripts_dir/formfiller.sh
# Tab navigating
@cbind g< = event FIRST_TAB
@cbind g> = event LAST_TAB
-@cbind l = event NEXT_TAB
-@cbind h = event PREV_TAB
+@cbind gt = event NEXT_TAB
+@cbind gT = event PREV_TAB
@cbind gi<index:>_ = event GOTO_TAB %s
# Preset loading
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");
}