Skip to content

Mention in docs minor conflict with the --show-failed-attempts and --clock flag #298

@Akhil-CM

Description

@Akhil-CM

This issue is a....

[ ] Bug
[x] Other kind of issue (Please describe in detail)

Current Behavior

This doesn't seem like an issue at all. Just mentioning here for documentation purposes. The --show-failed-attempts flag has a minor conflict with the --clock flag. When the former is enabled, the clock is only shown till the first failed attempt. After that the number of failed attempts is shown instead of the clock.

Expected Behavior

Maybe mention about this in README and manpages. I don't think any code changes needs to be made. As seeing the clock doesn't really matter after trying the passwd.

Reproduction Instructions

The example script in the README can be modified to show this:

#!/bin/sh

BLANK='#00000000'
CLEAR='#ffffff22'
DEFAULT='#ff00ffcc'
TEXT='#ee00eeee'
WRONG='#880000bb'
VERIFYING='#bb00bbbb'

i3lock \
--insidever-color=$CLEAR     \
--ringver-color=$VERIFYING   \
\
--insidewrong-color=$CLEAR   \
--ringwrong-color=$WRONG     \
\
--inside-color=$BLANK        \
--ring-color=$DEFAULT        \
--line-color=$BLANK          \
--separator-color=$DEFAULT   \
\
--verif-color=$TEXT          \
--wrong-color=$TEXT          \
--time-color=$TEXT           \
--date-color=$TEXT           \
--layout-color=$TEXT         \
--keyhl-color=$WRONG         \
--bshl-color=$WRONG          \
\
--screen 1                   \
--blur 5                     \
--clock                      \
--indicator                  \
--time-str="%H:%M:%S"        \
--date-str="%A, %Y-%m-%d"    \
--keylayout 1                \
--show-failed-attempts # <------ added here

Environment

Output of i3lock --version:

i3lock version:
`i3lock: version 2.13.c.5 © 2010 Michael Stapelberg, © 2015 Cassandra Fox, © 2021 Raymond Li`

Where'd you get i3lock-color from?

[x] AUR package (which one?)
[ ] Built from source yourself
[ ] Other (Please describe in detail)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions