aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xdefaults2
-rw-r--r--config/uzbl/config3
-rwxr-xr-xconfig/uzbl/scripts/download.sh6
-rwxr-xr-xratpoison/exec_to_workspace2
4 files changed, 7 insertions, 6 deletions
diff --git a/Xdefaults b/Xdefaults
index 6d8d764..fa59dee 100644
--- a/Xdefaults
+++ b/Xdefaults
@@ -55,5 +55,5 @@ URxvt.keysym.M-s: perl:keyboard-select:search
! M-u to select open copy links
!URxvt.perl-ext-common: ...,url-select
URxvt.keysym.M-u: perl:url-select:select_next
-URxvt.url-select.launcher: /home/vasko/.ratpoison/exec_to_workspace 2 uzbl-browser --uri
+URxvt.url-select.launcher: /home/vasko/.ratpoison/exec_to_workspace II uzbl-browser --uri
diff --git a/config/uzbl/config b/config/uzbl/config
index ad14a99..428cfd8 100644
--- a/config/uzbl/config
+++ b/config/uzbl/config
@@ -65,7 +65,8 @@ set scripts_dir = @data_home/uzbl/scripts:@prefix/share/uzbl/examples/data:
set scheme_handler = sync_spawn @scripts_dir/scheme.py
#set request_handler = sync_spawn @scripts_dir/request.py
set authentication_handler = sync_spawn @scripts_dir/auth.py
-set download_handler = sync_spawn /home/vasko/.config/uzbl/scripts/download.sh
+#set download_handler = sync_spawn /home/vasko/.config/uzbl/scripts/download.sh
+set download_ handler spawn_sync @scripts_dir/download.sh
# === Dynamic event handlers =================================================
diff --git a/config/uzbl/scripts/download.sh b/config/uzbl/scripts/download.sh
index 398f271..4ffb5e8 100755
--- a/config/uzbl/scripts/download.sh
+++ b/config/uzbl/scripts/download.sh
@@ -47,9 +47,9 @@ esac
source ~/.colors;
-if ! /home/vasko/.ratpoison/ratmenu -style dreary -fg \"$COLOR11\" -bg \"$COLOR0\" -io 2 "Download \"$suggested_filename\"?" false Yes true No false;then
-path='';
-fi
+#if ! /home/vasko/.ratpoison/ratmenu -style dreary -fg \"$COLOR11\" -bg \"$COLOR0\" -io 2 "Download \"$suggested_filename\"?" false Yes true No false;then
+#path='';
+#fi
# Do nothing if we don't want to save the file
[ -z "$path" ] && exit 0
diff --git a/ratpoison/exec_to_workspace b/ratpoison/exec_to_workspace
index d97efff..8bacd78 100755
--- a/ratpoison/exec_to_workspace
+++ b/ratpoison/exec_to_workspace
@@ -9,4 +9,4 @@
wg=$1; shift
cmd="$@"
bspc desktop -f $wg &
-eval $cmd
+eval $cmd &