GNOME Shell extension to pick colors on the desktop.
The latest and supported version should only work on the 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:
gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell \
--method org.gnome.Shell.Extensions.InstallRemoteExtension 'color-picker@tuberry'
It's quite the same as installing from:
gdbus introspect --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/ColorPicker
Pick a color and return as XDG Desktop Screenshot Portal required.
Invoke like using the shortcut or clicking the systray indicator. e.g.:
[Desktop Entry]
Type=Application
NoDisplay=false
Exec=gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell/Extensions/ColorPicker --method org.gnome.Shell.Extensions.ColorPicker.Run
Icon=face-monkey
Name=Color Picker
Feel free to open an issue or PR in the repo for any question or idea.
To initialize or update the po file from sources:
bash ./cli/update-po.sh [your_lang_code] # like zh_CN, default to $LANG
To install GJS TypeScript type definitions:
npm install @girs/gnome-shell --save-dev
- PowerToys: the idea of custom color formats