Skip to content

tuberry/color-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-picker

Simple color picker for GNOME Shell.

春水碧于天,画船听雨眠。 —— 韦庄《菩萨蛮》
license

color-picker-menu

Installation

Manual

The latest and supported version should only work on the most current stable version of GNOME Shell.

git clone https://github.com/tuberry/color-picker.git && cd color-picker
meson setup build && meson install -C build
# meson setup build -Dtarget=system && meson install -C build # system-wide, default --prefix=/usr/local

For older versions, it's recommended to install via:

E.G.O

Get it on GNOME Extensions

Features

cppref

DBus

The DBus interface returns the same result as XDG Desktop Screenshot Portal required:

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/ColorPicker --method org.gnome.Shell.Extensions.ColorPicker.Pick

Contributions

Feel free to open an issue or PR in the repo for any question or idea.

Translations

To update the po file from sources:

bash ./cli/update-po.sh [your_lang_code] # like zh_CN, default to $LANG

Developments

To install GJS TypeScript type definitions:

npm install @girs/gnome-shell --save-dev

Acknowledgements

  • PowerToys: the idea of custom color formats