[colorpicker] add colorpicker
This commit is contained in:
parent
ba5efb8223
commit
b0d9b2c717
1 changed files with 5 additions and 0 deletions
5
colorpicker
Executable file
5
colorpicker
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# https://unix.stackexchange.com/a/523805
|
||||
|
||||
grim -g "$(slurp -p)" -t ppm - | convert - -format '%[pixel:p{0,0}]' txt:-
|
||||
Loading…
Add table
Add a link
Reference in a new issue