Skip to content

Fix expansion for i3lock "screen" argument#423

Merged
SebTM merged 2 commits intobetterlockscreen:nextfrom
habeebweeb:fix_i3lock_screen_arg
Jun 28, 2024
Merged

Fix expansion for i3lock "screen" argument#423
SebTM merged 2 commits intobetterlockscreen:nextfrom
habeebweeb:fix_i3lock_screen_arg

Conversation

@habeebweeb
Copy link
Contributor

Description

#411 introduced a regression where the --display argument is never passed properly to i3lock's --screen/-S argument.

screen is never defined so the expansion always fails. The expanded form would have also passed an -i argument again so no image would have been loaded.

How Has This Been Tested?

Ran shellcheck and ran betterlockscreen with --display 1 and again with --display 2.

Checklist:

  • I have performed a self-review of my own code/checked that ShellCheck succeeds
  • I have made corresponding changes to the documentation (if applicable)

"screen" is never defined so the expansion always fails. The expanded
form would have also passed an "-i" argument again so no image would
have been loaded.
@SebTM
Copy link
Collaborator

SebTM commented Jun 27, 2024

Will be considered with a potential fix for: #422 (comment)

either someone creates a MR or I will do it when I have some free time but it's not high priority on my list. I'm still hoping for someone willing to take-over!

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