From da3292d2c726b6eda3f4867414599afd252da0d2 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Wed, 17 May 2023 04:03:00 -0700 Subject: [PATCH] Add select-and-show-color.sh --- select-and-show-color.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 select-and-show-color.sh diff --git a/select-and-show-color.sh b/select-and-show-color.sh new file mode 100755 index 0000000..1ffee7b --- /dev/null +++ b/select-and-show-color.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env zsh + +local color="$(xcolor)" +printf '%s' "${color}" | xclip -selection clipboard +notify-send -t 5000 "Color Coppied" "${color}"