Skip to content

VitoVan/cl-pkr

Repository files navigation

Color Picker Icon

cl-pkr

Cross-Platform Color Picker Written in Common Lisp

platform support Build Status

Screenshots:

  • Linux

    Screenshot on Linux

  • macOS

    Screenshot on macOS

  • Windows

    Screenshot on Windows

Downloads:

  • Linux

    color-picker.AppImage

  • macOS

    color-picker.app

  • Windows

    color-picker.exe

You are supposed to run it on a 64-bit machine

Tested on Fedora 30, macOS Mojave and Windows 10 1809

Usage:

  • On macOS:

    • [Cmd + C] to Copy HEX
    • [Cmd + Shift + C] to Copy RGB
    • [Cmd + Option + C] to Copy HSL
  • On Windows or Linux

    • [Control + C] to Copy HEX
    • [Control + Shift + C] to Copy RGB
    • [Control + Alt + C] to Copy HSL

Known Issues:

  • Multi-Monitor not supported You can only pick color from the main display

Related Links:


Hacking:

  1. Make sure you have SBCL with Quicklisp installed

    • Install a proper SBCL, you can download here
    • Install Quicklisp, you can follow the tutorial here
  2. Make sure you have a bin folder and have a proper tclkit inside

    • mkdir -p bin or just right click to create a folder name bin
    • Download yourself a proper tclkit and rename it to tclkit-gui here
  3. build your application

    sbcl --disable-debugger --load cl-pkr.asd --eval "(ql:quickload 'cl-pkr)" --eval "(asdf:make :cl-pkr)"

Voilà! Check your bin folder for the magic!

What? You use Emacs and SLIME? Great!

Eval (progn (load "cl-pkr.asd") (ql:quickload 'cl-pkr) (setf cl-icebox::*hacking* t)) in your REPL, then you can call (cl-pkr:color-picker), have fun!

Deploy:

Please check deploy.sh and .github/workflows for more information.

Credits


Lisp Caution