-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Conversation
The strings displayed for validating, invalid and cleared state can be changed
up ? |
ping ? |
@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." |
There was a problem hiding this comment.
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:' |
There was a problem hiding this comment.
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.
I’ve reimplemented it in #52. |
This PR enables to change different strings used in sway effects.