All Projects → mcpcpc → kfc

mcpcpc / kfc

Licence: MIT license
A terminal-emulator color palette setter written in POSIX C99.

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to kfc

anypalette.js
🎨 Read/write all color palette file formats ❤🧡💛💚💙💜
Stars: ✭ 41 (+64%)
Mutual labels:  colors, palettes
tasarimcilar-ve-yazilimcilar-icin-kaynak-arsivim
Tasarım ve yazılım ile ilgili 2017 yılından günümüze kadar geçen zamanda toplamış olduğum arşivimi sizle ile paylaşıyorum. Ne mi var her şey...
Stars: ✭ 276 (+1004%)
Mutual labels:  colors
kolorist
A tiny utility to colorize stdin/stdout
Stars: ✭ 160 (+540%)
Mutual labels:  colors
colorify
Colorify - C# .Net Console Library with Text Format: colors, alignment and lot more [ Win+Mac+Linux ]
Stars: ✭ 49 (+96%)
Mutual labels:  colors
razer-cli
CLI for configuring Razer devices
Stars: ✭ 46 (+84%)
Mutual labels:  colors
ImmersiveColors
Easy way to access Windows 10 Immersive colors
Stars: ✭ 64 (+156%)
Mutual labels:  colors
cervit
Minimal, multi-threaded POSIX HTTP 1.1 server written in C using only system libraries.
Stars: ✭ 19 (-24%)
Mutual labels:  posix
epick
Color picker for creating harmonic color palettes that works on Linux, Windows, macOS and web.
Stars: ✭ 89 (+256%)
Mutual labels:  colors
meta-theme-sky-color
Js snippet that changes the mobile Chrome nav bar color to the color of the sky based on time of day.
Stars: ✭ 19 (-24%)
Mutual labels:  colors
lisa
👩‍🎨 Color palettes from Color Lisa
Stars: ✭ 41 (+64%)
Mutual labels:  palettes
dot
Personal and professional dotfiles to setup my personal workspace on any Debian/Ubuntu system. Also available as rwxrob/workspace container.
Stars: ✭ 152 (+508%)
Mutual labels:  posix
Holi
Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!
Stars: ✭ 160 (+540%)
Mutual labels:  colors
tmux
💽 Soothing pastel theme for Tmux!
Stars: ✭ 63 (+152%)
Mutual labels:  colors
colort
colort[int]
Stars: ✭ 28 (+12%)
Mutual labels:  colors
nyx
Lean linux and OSX process monitoring written in C
Stars: ✭ 24 (-4%)
Mutual labels:  posix
FP
Simple FontPreview Shell Script
Stars: ✭ 17 (-32%)
Mutual labels:  posix
beeos
A simple "Unix-like" kernel trying to be POSIX compliant
Stars: ✭ 103 (+312%)
Mutual labels:  posix
vim-filetype-formatter
Format program files in vim using your favorite command line formatter
Stars: ✭ 21 (-16%)
Mutual labels:  posix
colortest
Quickly show all your terminal colors
Stars: ✭ 66 (+164%)
Mutual labels:  colors
energymech
EnergyMech IRC Bot
Stars: ✭ 24 (-4%)
Mutual labels:  posix
kfc

KISS for colors, a terminal-emulator color palette setter written in POSIX C99.


BACKGROUND
----------

This project was inspired by Dylan Arap's POSIX shell script, okpal [0], which
utilizes 16 ANSI colors to control the color scheme of existing terminal-emulator
windows. This allows one to achieve consistent colors across all terminal 
utilities and applications. This application has similar functionality to okpal 
but is designed with execution speed in mind. There are currently 300 light and 
dark color palettes offered at this time that can be applied and quickly swapped 
out for others.


COMPATIBILITY
-------------

Compatibility with the following terminator-emulators have been tested and 
confirmed on KISS Linux [1]:

- simple terminal, st [2]
- alacritty [3]
- xterm [4]
- kitty [5]


DEPENDENCIES
------------

Other than a terminal-emulator and C99 compiler, this application has no other 
dependencies.


INSTALLATION
------------

Building and installing from source:

    git clone https://github.com/mcpcpc/kfc.git
    cd kfc/
    make
    make install

Installing on KISS Linux:

    kiss b kfc
    kiss i kfc


USAGE
-----

kfc [-L] [-r|-s palette] [-l|-p|-v]
-L          Set light themes (modifier for -s/-r/-l)
-r          Select a random palette (dark theme by default)
-s palette  Select a palette (dark theme by default)
-l          List palettes (dark themes by default)
-p          Print current palette
-v          Show version information


EXAMPLES
--------

For the following examples, remember to replace PALETTE with your preferred 
color schema name. 

- To see if a specific light color palette is available:

      kfc -lL | grep PALETTE

- To apply the light version of the PALETTE:

      kfc -Ls PALETTE

- To verify that the palette was applied (or see the last palette that was
  applied):

      kfc -p

- To apply a color palette automatically to a new terminal window, you can add 
  the following line to one of your system startup files (e.g ~/.profile,
  ~/.ashrc or ~/.bashrc):
  
      [ -x "$(command -v kfc)" ] && kfc -s PALETTE

Refer to the USAGE section for more information on command arguments.


NEW PALETTES
------------

Users can contribute their own custom color palettes (using the supplied template
in the docs/ folder) by creating a Pull Request.


REFERENCES
----------
[0] https://github.com/dylanaraps/okpal
[1] https://k1ss.org
[2] Note that background, foreground and cursor color setting does not work
    without applying the 'OSC 10 11 12' patch.
    https://st.suckless.org
[3] Confirmed to work in wayland (per sdsddsd1).
    #1
[4] Confirmed by periish.
    #3
[5] Confirmed by emokoi
    #4
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].