making i3lock's color scheme configurable
C Other Makefile
Switch branches/tags
Nothing to show
Clone or download
Latest commit 70b079a Feb 21, 2016
Permalink
Failed to load latest commit information.
.gitignore add .gitignore Apr 7, 2012
CHANGELOG add CHANGELOG file Apr 1, 2012
LICENSE update debian packaging, update copyright Jul 13, 2011
Makefile add CHANGELOG file Apr 1, 2012
README fix compilation on some systems (Thanks badboy) Mar 15, 2012
README.md Add note to README - see #6 Feb 21, 2016
cursors.h Move static byte arrays to xcb.c (fixes compilation warnings) Jul 20, 2010
i3lock.1 manpage: add -u flag in synopsis Mar 15, 2012
i3lock.c giving all colors an alpha channel - fixing #3 May 1, 2012
i3lock.h Only output text when in debug mode (fixes problems with xautolock) Mar 26, 2012
i3lock.pam use 'auth include login' instead of '@include login', the latter is d… Jan 22, 2011
keysym2ucs.c Bugfix: Handle numpad keys correctly (Thanks Pascal) Nov 8, 2010
keysym2ucs.h Initial commit of the XCB rewrite of i3lock Jul 16, 2010
ucs2_to_utf8.c change ALL the copyrights! Jan 3, 2012
ucs2_to_utf8.h Initial commit of the XCB rewrite of i3lock Jul 16, 2010
unlock_indicator.c fix a couple var names Feb 14, 2016
unlock_indicator.h Use (void) instead of () for functions without args (Thanks fernandotcl) Apr 1, 2012
xcb.c Bugfix: Copy the color depth from parent (root) window instead of har… Jan 15, 2012
xcb.h Implement Xinerama support (not used yet) Jan 3, 2012
xinerama.c Use (void) instead of () for functions without args (Thanks fernandotcl) Apr 1, 2012
xinerama.h Use (void) instead of () for functions without args (Thanks fernandotcl) Apr 1, 2012

README.md

i3lock-color

making i3lock's typing indicator color scheme configurable

This i3lock-color repo is out of date and not being maintained any more. Please check out Arcaena/i3lock-color for a newer version!


I 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.

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.