11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
set -xe
|
||
|
|
||
|
grim -g "$(slurp -b aabbcc00 -p)" - |
|
||
|
convert - txt:- |
|
||
|
grep -oE '#[0-9A-Fa-f]{6}' |
|
||
|
wl-copy -n
|
||
|
|
||
|
notify-send "$(wl-paste)" "Copied to clipboard"
|