Skip to content

making i3lock's color scheme configurable

License

Notifications You must be signed in to change notification settings

eXenon/i3lock-color

 
 

Repository files navigation

i3lock-color

making i3lock's typing indicator color scheme configurable

eBrnd added the following command line options:

  • --insidevercolor=rrggbbaa -- Inside of the circle while the password is being verified
  • --insidewrongcolor=rrggbbaa -- Inside of the circle when a wrong password was entered
  • --insidecolor=rrggbbaa -- Inside of the circle while typing/idle
  • --ringvercolor=rrggbbaa -- Outer ring while the password is being
  • --ringwrongcolor=rrggbbaa -- Outer ring when a wrong password was entered
  • --ringcolor=rrggbbaa -- Outer ring while typing/idle
  • --linecolor=rrggbbaa -- Line separating outer ring from inside of the circle and delimiting the highlight segments
  • --textcolor=rrggbbaa -- Text ("verifying", "wrong!")
  • --keyhlcolor=rrggbbaa -- Keypress highlight segments
  • --bshlcolor=rrggbbaa -- Backspace highlight segments

All the colors have an alpha channel now. Please keep in mind that this was not intended when the program was originally written, so making thing transparent that weren't before can make it look strange.

I added an option to display the circle only on certain screens in a multi-display setup.

  • --singlescreen=i -- Display the circle only on screen number i

Examples:

i3lock --insidevercolor=0000a0bf --insidewrongcolor=ff8000bf --insidecolor=ffffffbf --ringvercolor=0020ffff --ringwrongcolor=4040ffff --ringcolor=404090ff --textcolor=ffffffff --linecolor=aaaaaaff --keyhlcolor=30ccccff --bshlcolor=ff8000ff

Refer to the original README file for general information and libraries you need.

About

making i3lock's color scheme configurable

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.6%
  • Roff 2.0%
  • Makefile 1.4%