tuberry / color-picker

Simple color picker for GNOME Shell.
GNU General Public License v3.0
144 stars 11 forks source link

Normalized RGB color option #49

Closed jasursadikov closed 6 months ago

jasursadikov commented 6 months ago

Feature request.

Can you add an option to have an RGB color in format 0-1 where white is (1, 1, 1) and black is (0, 0, 0)?

tuberry commented 6 months ago

It will take some effort and time to implement custom/configurable color formats.

Currently, if you are using GNOME 46, you can use the new DBus interface as a temporary workaround:

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/ColorPicker --method org.gnome.Shell.Extensions.ColorPicker.Pick | grep -oP '<\K[^>]+' | wl-copy -n