Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rajter/picket

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Picket
Picket

Screen color picker for linux with magnifier and custom/user defined formats.

FeaturesAuthorsLicense

Main Window

MainWindow

Features

Magnifier

Magnifier

CustomFormat

All the formats are stored in the directory {home}/.picket in the file formats.txt Color Formats consist of two components:

  1. [xxxx] - A unique indetifier
  2. xxxxxx... - The actual string that will be copied to the clipboard

Example

[RGB]$r$, $g$, $b$

output:

150, 250, 75

Lines that do not start with a [ character are ignored and can be used like comments

FormatEditor

Simple Format Editor

FormatEditor

Variables

Variable Description
$r$ Red 0-255
$g$ Green 0-255
$b$ Blue 0-255
$a$ Aplha 0-255
$r_d$ Red as double 0.0 - 1.0
$g_d$ Green as double 0.0 - 1.0
$b_d$ Blue as double 0.0 - 1.0
$a_d$ Alpha as double 0.0 - 1.0
$r_hex$ Red as hex 00 - FF
$g_hex$ Green as hex 00 - FF
$b_hex$ Blue as hex 00 - FF
$a_hex$ Alpha as hex 00 - FF
$h$ Hue
$s$ Saturation in %
$l$ Lightness in %
$s_d$ Saturation as double
$l_d$ Lightness as double
$c$ Cyan 0-100
$m$ Magenta 0-100
$y$ Yellow 0-100
$k$ Key 0-100
$c_d$ Cyan as double 0.0 - 1.0
$m_d$ Magenta as double 0.0 - 1.0
$y_d$ Yellow as double 0.0 - 1.0
$k_d$ Key as double 0.0 - 1.0

Settings

SettingsWindow

Useful settings:

  • Start immediate pick - Starts the picking process when the application starts
  • Copy to clipboard after pick - Copies the selected format to clipboard after the pickcing process finished
  • Quit after pick - Quits the application after the picking process finishes

Shortcuts

MainWindow

Key Description
SPACE or p Starts the picker
TAB Copies the format to the clipboard
q Quit. Exit application.
1...9 Quick format selection

Picker

Key Description
up arrow or w Move up
down arrow or s Move down
left arrow or a Move left
right arrow or d Move right
e or + Increase magnifier size
q or - Decrease magnifier size
ESC Cancel pick

Packages

Arch User Repositories https://aur.archlinux.org/packages/picket/

Manual Install

Clone the repository to your local machine. git clone https://github.com/rajter/Picket.git
Change directory to Picket cd Picket
Create directory "build" mkdir build
Change directory to build cd build
Execute cmake for Release build cmake -DCMAKE_BUILD_TYPE=Release ..
Execute sudo make install to build and install it on your machine.

  git clone https://github.com/rajter/Picket.git
  cd Picket
  mkdir build
  cd build
  cmake -DCMAKE_BUILD_TYPE=Release ..
  sudo make install

Prerequisites

  • GCC - GNU Compiler
  • Gtkmm Gtkmm - GTK+ wrapper for c++

Built With

  • mINI - tiny, header only C++ library for manipulating INI files
  • Glade - Glade user interface designer

Authors

  • Andrija Rajter - Initial work - rajter

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Native linux screen color picker with custom format output

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.