Package Details: colorpicker 1.0.f5d441a-2

Git Clone URL: https://aur.archlinux.org/colorpicker.git (read-only, click to copy)
Package Base: colorpicker
Description: Click on a pixel on your screen and print its color value in RGB. Written for X11.
Upstream URL: https://github.com/Jack12816/colorpicker
Keywords: colorpicker gtk x11
Licenses: MIT
Submitter: Jack12816
Maintainer: Jack12816
Last Packager: Jack12816
Votes: 16
Popularity: 0.099655
First Submitted: 2017-08-31 11:36 (UTC)
Last Updated: 2017-08-31 11:39 (UTC)

Latest Comments

Mistyhands commented on 2023-06-15 23:53 (UTC)

uploaded an aur package based on the fork andykluger mentioned.

I forked this fork such that "oneshot" and "quit on keypress" are always true, and the flag "-c" can be used to copy the result to clipboard.

https://aur.archlinux.org/packages/colorpicker-git

mekb commented on 2022-02-07 01:40 (UTC) (edited on 2022-02-07 01:43 (UTC) by mekb)

piping this into something only prints once it exits, i'm trying to get it to show a notification every time a color is selected, one fix would be to use /bin/script -qefc "/bin/colorpicker" /dev/null instead of just /bin/colorpicker but it's long and tedious

andykluger commented on 2020-06-13 19:34 (UTC) (edited on 2020-06-13 19:36 (UTC) by andykluger)

Here's a PKGBUILD I just used locally, if you or anyone else is interested:

# Maintainer: Hermann Mayer <hermann.mayer92@gmail.com>

_pkgname=colorpicker
pkgname=${_pkgname}-git
provides=($_pkgname)
conflicts=($_pkgname)
pkgver=r15.419958f
pkgrel=1
pkgdesc='Click on a pixel on your screen and print its color value in RGB. Written for X11.'
arch=('i686' 'x86_64')
url='https://github.com/ym1234/colorpicker'
license=('MIT')
depends=('libx11')
makedepends=('make' 'git')
source=('git+https://github.com/ym1234/colorpicker')
sha512sums=('SKIP')

pkgver() {
  cd "${_pkgname}"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$_pkgname"
  make
}

package() {
  cd "$_pkgname"
  mkdir -m755 -p ${pkgdir}/usr/bin
  install -m777 "$_pkgname" ${pkgdir}/usr/bin/
}

andykluger commented on 2020-06-13 19:14 (UTC) (edited on 2020-06-13 19:15 (UTC) by andykluger)

It looks like the best maintained fork now lives at https://github.com/ym1234/colorpicker -- that's the one linked from https://github.com/sdushantha/farge

Maybe you can get your preview feature merged into that one?

EDIT: the linked fork has also reduced dependencies.