Skip to content

anyrun: Added margin config option #7687

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

Merged
merged 2 commits into from
Aug 18, 2025

Conversation

Kirottu
Copy link
Contributor

@Kirottu Kirottu commented Aug 17, 2025

Description

Added the new

Checklist

  • Change is backwards compatible.

  • Code formatted with nix fmt or
    nix-shell -p treefmt nixfmt deadnix keep-sorted --run treefmt.

  • Code tested through nix run .#tests -- test-all or
    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.
    • Generate a news entry. See News
    • Basic tests added. See Tests
  • If this PR adds an exciting new feature or contains a breaking change.

    • Generate a news entry. See News

Added the new `margin` config option to the Anyrun module
@khaneliman
Copy link
Collaborator

Could you update the test

nmt-test-anyrun> Expected home-files/.config/anyrun/config.ron to be same as /nix/store/gajpixa02jsvs4g434gv401myxx3bjia-config.ron but were different:
nmt-test-anyrun> --- actual
nmt-test-anyrun> +++ expected
nmt-test-anyrun> @@ -3,7 +3,6 @@
nmt-test-anyrun>    y: Fraction(0.020000),
nmt-test-anyrun>    width: Absolute(800),
nmt-test-anyrun>    height: Absolute(0),
nmt-test-anyrun> -  margin: 0,
nmt-test-anyrun>    hide_icons: false,
nmt-test-anyrun>    ignore_exclusive_zones: false,
nmt-test-anyrun>    layer: Overlay,

Updated the Anyrun config file test to include the `margin` option.
@khaneliman khaneliman merged commit 0a06e46 into nix-community:master Aug 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants