Skip to content

Conversation

2hexed
Copy link
Member

@2hexed 2hexed commented Feb 3, 2025

Currently, there is no way to configure picom's options via (), which is required when working with "rules" or "animations"; This PR resolves that issue along with a few code optimizations

Feel free to propose edits I'll be sure to read them and make changes accordingly; Thanks!

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

Adding conditions for `()` and a few code changes
@github-actions github-actions bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Feb 3, 2025
@NixOSInfra NixOSInfra added the 12.first-time contribution This PR is the author's first one; please be gentle! label Feb 3, 2025
Copy link
Member

@NotAShelf NotAShelf left a comment

Choose a reason for hiding this comment

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

PR title and commit will need to be changed.

"Update picom.nix" -> nixos/picom: update configuration format might be a good start

@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 3, 2025
@2hexed 2hexed changed the title Update picom.nix NixOS/picom: Update configuration format Feb 3, 2025
adding comments again because I didn't realize I removed them
@NotAShelf
Copy link
Member

Please also change the commit. It could be squashed, but in an ideal case you follow the contribution rules. If we are being really nitpicky, a good and descriptive commit message would not go amiss.

Additionally, I am not exactly sure if this is enforced but the title and commit should be all lowercase:

- NixOS/picom: Update configuration format
+ nixos/picom: update configuration format

@2hexed 2hexed changed the title NixOS/picom: Update configuration format nixos/picom: update configuration format Feb 3, 2025
@2hexed
Copy link
Member Author

2hexed commented Feb 3, 2025

Please also change the commit. It could be squashed, but in an ideal case you follow the contribution rules. If we are being really nitpicky, a good and descriptive commit message would not go amiss.

Additionally, I am not exactly sure if this is enforced but the title and commit should be all lowercase:

- NixOS/picom: Update configuration format
+ nixos/picom: update configuration format

thank you for your input, resolved all the issues; please check when you can and let me know

Copy link
Member

@NotAShelf NotAShelf left a comment

Choose a reason for hiding this comment

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

I haven't tested the changes, but diff LGTM.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Feb 4, 2025
@2hexed 2hexed closed this by deleting the head repository Mar 2, 2025
2hexed added a commit to 2hexed/nixpkgs that referenced this pull request Mar 20, 2025
@2hexed 2hexed mentioned this pull request Mar 20, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person. 12.first-time contribution This PR is the author's first one; please be gentle!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants