summaryrefslogtreecommitdiff
path: root/.uzbl/config
diff options
context:
space:
mode:
Diffstat (limited to '.uzbl/config')
-rw-r--r--.uzbl/config23
1 files changed, 8 insertions, 15 deletions
diff --git a/.uzbl/config b/.uzbl/config
index 5539181..bb71fec 100644
--- a/.uzbl/config
+++ b/.uzbl/config
@@ -39,7 +39,7 @@ set set_mode = set mode =
set set_status = set status_message =
# Spawn path shortcuts. In spawn the first dir+path match is used in "dir1:dir2:dir3:executable"
-set scripts_dir = /home/urbain/dotfiles/config/uzbl/scripts:@data_home/uzbl:@prefix/share/uzbl/examples/data:scripts
+set scripts_dir = /home/urbain/dotfiles/.uzbl:@data_home/uzbl:@prefix/share/uzbl/examples/data:scripts
## Hardcoded handlers
@@ -359,17 +359,6 @@ set follow_hint_keys = uhetonasidpgcr
@cbind F* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'newwindow') >\@
@cbind fL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ set
@cbind FL* = spawn @scripts_dir/follow.sh \@< uzbl.follow("\@follow_hint_keys", "%s", 'returnuri') >\@ clipboard
-@cbind fi = spawn @scripts_dir/go_input.sh
-
-@cbind fs = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('returnuri') >\@ set
-@cbind fS = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('click') >\@
-@cbind Fs = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('newwindow') >\@
-@cbind FS = spawn @scripts_dir/follow.sh \@< uzbl.follow.followSelection('returnuri') >\@ clipboard
-
-@cbind ft* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'returnuri') >\@ set
-@cbind fT* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'click') >\@
-@cbind Ft* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'newwindow') >\@
-@cbind FT* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'returnuri') >\@ clipboard
@cbind '* = spawn @scripts_dir/follow.sh \@< uzbl.follow.followTextContent("%s", 'click') >\@
@@ -422,9 +411,6 @@ menu_add Quit uzbl = exit
# Link context menu
menu_link_add Print Link = print \@SELECTED_URI
-# Go up one dir
-@cbind gu = spawn @scripts_dir/goup.pl
-
# Mode configuration
# Define some mode specific uzbl configurations.
@@ -496,4 +482,11 @@ 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"'
+
+@on_event DOWNLOAD_COMPLETE spawn @scripts_dir/downloadviewer.sh %s
+@on_event LOAD_COMMIT spawn @scripts_dir/adblock.py
# vim: set fdm=syntax: