Skip to content

swayidle: Fix ordering of arguments#2932

Merged
sumnerevans merged 1 commit intonix-community:masterfrom
arjan-s:fix-swayidle-extraargs
May 3, 2022
Merged

swayidle: Fix ordering of arguments#2932
sumnerevans merged 1 commit intonix-community:masterfrom
arjan-s:fix-swayidle-extraargs

Conversation

@arjan-s
Copy link
Copy Markdown
Contributor

@arjan-s arjan-s commented May 3, 2022

Description

The extraArgs were passed to swayidle at the end of the command, while swayidle expects them before the events and timeouts, causing it to exit with an error. This PR fixes the order of the arguments.

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

    • Added myself and the module files to .github/CODEOWNERS.

Copy link
Copy Markdown
Contributor

@sumnerevans sumnerevans left a comment

Choose a reason for hiding this comment

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

@sumnerevans sumnerevans merged commit ac722cd into nix-community:master May 3, 2022
@arjan-s arjan-s deleted the fix-swayidle-extraargs branch May 5, 2022 08:18
jevy pushed a commit to jevy/home-manager that referenced this pull request Jul 1, 2022
@teto teto mentioned this pull request Aug 22, 2022
7 tasks
teto pushed a commit to teto/home-manager that referenced this pull request Aug 22, 2022
spacekookie pushed a commit to spacekookie/home-manager that referenced this pull request Feb 10, 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