Added color selection option
This commit is contained in:
parent
b704168e9c
commit
1a7c989632
@ -6,6 +6,7 @@ Current window
|
|||||||
Selected area
|
Selected area
|
||||||
Copy text with OCR (English)
|
Copy text with OCR (English)
|
||||||
Copy text with OCR (Japanese)
|
Copy text with OCR (Japanese)
|
||||||
|
Select a color from the screen
|
||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
|
|
||||||
@ -44,4 +45,10 @@ case "${resp}" in
|
|||||||
4)
|
4)
|
||||||
copy_with_ocr jpn
|
copy_with_ocr jpn
|
||||||
;;
|
;;
|
||||||
|
5)
|
||||||
|
local color="$(hyprpicker -f hex -n -r)"
|
||||||
|
(( ${#color} == 0 )) && exit
|
||||||
|
wl-copy "${color}"
|
||||||
|
notify-send -t 5000 "Color Selected" "${color}"
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user