From: Colin Patrick McCabe Date: Wed, 10 Nov 2010 19:05:54 +0000 (-0800) Subject: screenrc: add copy-to-xsel functionality X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab54c2c8c0f0f160fb6bd0d4f02e190bc5a2fbb;p=cmccabe-etc screenrc: add copy-to-xsel functionality --- diff --git a/.screenrc b/.screenrc index fd45e22..8a85fc7 100644 --- a/.screenrc +++ b/.screenrc @@ -5,6 +5,8 @@ hardstatus alwayslastline caption always "%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f*%t%{-}%+Lw%-0<" # could also add: %?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H%?%F +bind b eval writebuf 'exec /bin/sh -c "xsel -i -b < /tmp/screen-exchange"' 'exec /bin/sh -c "killall xsel"' + activity "%C -> %n%f %t activity!" bell "%C -> %n%f %t bell!~"