Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the capability to change state strings #8

Closed
wants to merge 1 commit into from

Conversation

aacebedo
Copy link

@aacebedo aacebedo commented Aug 3, 2022

This PR enables to change different strings used in sway effects.

The strings displayed for validating, invalid and cleared state can be
changed
@aacebedo
Copy link
Author

up ?

@aacebedo
Copy link
Author

ping ?

@aacebedo
Copy link
Author

aacebedo commented Nov 8, 2022

@jirutka ? can you merge this please ?

@@ -53,3 +54,5 @@ complete -c swaylock -l text-ver-color --description "Sets the colo
complete -c swaylock -l text-wrong-color --description "Sets the color of the text when invalid."
complete -c swaylock -l tiling -s t --description "Same as --scaling=tile."
complete -c swaylock -l version -s v --description "Show the version number and quit."
complete -c swaylock -l verstr --description The string displayed when the password is being verified."
complete -c swaylock -l wrongstr --description The string displayed when the password is wrong."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There’s a missing opening quote mark in each description you’ve added.

'(--tiling -t)'{--tiling,-t}'[Same as --scaling=tile]' \
'(--version -v)'{--version,-v}'[Show the version number and quit]' \
'(--verstr)'--verstr'[The string displayed when the password is being verified.]:string:' \
'(--wrongstr)'--wrongstr'[The string displayed when the password is wrong.]:string:'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please never mix formatting and functional changes in a single commit. And don’t introduce any formatting changes here.

@jirutka
Copy link
Owner

jirutka commented Dec 2, 2023

I’ve reimplemented it in #52.

@jirutka jirutka closed this Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants