summaryrefslogtreecommitdiff
path: root/color-picker
diff options
context:
space:
mode:
Diffstat (limited to 'color-picker')
-rwxr-xr-xcolor-picker6
1 files changed, 5 insertions, 1 deletions
diff --git a/color-picker b/color-picker
index a132a44..065a57e 100755
--- a/color-picker
+++ b/color-picker
@@ -2,7 +2,11 @@
set -e
-SELECTED_COLOR=$(grabc)
+# if you want to view colors use gcolor3 from the repos
+
+SELECTED_COLOR=$(xcolor) # use xcolor or xoris ; xcolor has zoom feature
+
+# Copy to clipboard
echo $SELECTED_COLOR | xsel -b
echo $SELECTED_COLOR