aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-18 23:15:45 +0100
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2015-02-18 23:15:45 +0100
commita1f175f3df00feb11df880fca4e02bbfbd8eee12 (patch)
treed84e10189c33cea0e7071e4e5459814c72d49f90
parentd1fffc9e58fc867dd1a6ec9327fe4cbdc29a3bc6 (diff)
downloaddotfiles-a1f175f3df00feb11df880fca4e02bbfbd8eee12.tar.gz
dotfiles-a1f175f3df00feb11df880fca4e02bbfbd8eee12.tar.bz2
dotfiles-a1f175f3df00feb11df880fca4e02bbfbd8eee12.zip
small update
-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 &