From bda6d613ca31d54c07431212dba6a5d364b8ae6f Mon Sep 17 00:00:00 2001 From: motius Date: Thu, 9 Mar 2017 17:00:23 +0100 Subject: [PATCH] pick color from screen with script. use as shortcut. --- color/select_screen.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 color/select_screen.sh diff --git a/color/select_screen.sh b/color/select_screen.sh new file mode 100644 index 0000000..fe7e5c1 --- /dev/null +++ b/color/select_screen.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# launch in xterm +# with small size 15 char, 5 col +# use 'Monospace' '14pt' font +# exec grabc to read color for screen +# wait for with read +xterm -geometry '15x5+0+0' -fa 'Monospace' -fs 14 -e 'grabc && read' +