Permalink
Browse files

dmenuclip: fix space-delimited data retrieval

  • Loading branch information...
1 parent 95b33c5 commit 9c68b0b7b3e485f2446f2f7770f12bbb0ce19891 @trapd00r committed Jun 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/dmenuclip
View
@@ -48,5 +48,5 @@ $select_fg =~ s/^(#)/\\$1/;
my $dmenu = "dmenu -i -b $list_mode "
. "-nb $normal_bg -nf $normal_fg -sb $select_bg -sf $select_fg";
-my $dmenu_cmd = qq[\$(tac $xsels | $dmenu -fn $font -p dmenuclip)];
+my $dmenu_cmd = qq["\$(tac $xsels | $dmenu -fn $font -p dmenuclip)"];
system("printf $dmenu_cmd | xclip -selection $x_buffer -i -l 0 | xclip -o");

0 comments on commit 9c68b0b

Please sign in to comment.