Skip to content

immanelg/pik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pik

image

Color picker for terminal

Installation

From source

CGO_ENABLED=0 go install -trimpath -ldflags="-s -w" github.com/immanelg/pik@latest

Usage

Flags

  • -init string: initial color (#123456, rgb(...), hsl(...))
  • -logfile /dev/null: log debug messages to file

Keybindings

  • h, l, b, w, [, ], H, L: change current slider value
  • j, k: change focused slider
  • i: cycle input mode (RGB, HSL)
  • o: cycle output mode (RGB, HEX, HSL)
  • y: copy to clipboard
  • p: paste from clipboard
  • enter: quit and print current color
  • q: quit
  • <c-l>: redraw

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published