changeset 128:57069bd1a46a

a better stripper
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 14 Mar 2011 09:34:26 -0700
parents 8ac0ee508da7
children 83bc1e6e5b54
files .fluxbox/keys
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/.fluxbox/keys	Wed Mar 09 15:21:11 2011 -0800
+++ b/.fluxbox/keys	Mon Mar 14 09:34:26 2011 -0700
@@ -64,7 +64,7 @@
 Control Mod1 s :ExecCommand /home/jhammel/bin/smartopen "$(xclip -o)" # smartopen
 Control Mod1 t :ExecCommand gnome-terminal # terminal
 Control Mod1 x :ExecCommand xkill
-Control Mod1 0 :ExecCommand xclip -o | sed 's/\+//' | xclip -i # strip leading +s
+Control Mod1 0 :ExecCommand xclip -o | sed 's/^[-+]//' | xclip -i # strip leading +s
 
 Mod4 t :ToggleDecor