Skip to content

wayle: add module#8998

Draft
isaacST08 wants to merge 3 commits intonix-community:masterfrom
isaacST08:module/wayle
Draft

wayle: add module#8998
isaacST08 wants to merge 3 commits intonix-community:masterfrom
isaacST08:module/wayle

Conversation

@isaacST08
Copy link
Copy Markdown

Description

New Module:
Wayland Elements - A compositor agnostic shell with extensive customization (successor of HyprPanel)
https://github.com/wayle-rs/wayle/

Prerequisites

Wayle package to be merged into nixpkgs.

Checklist

  • Change is backwards compatible.

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

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

    • Code tested through nix run .#tests -- wayle.
  • 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

enable = mkEnableOption "wayle shell";
package = mkPackageOption pkgs "wayle" { };

autoInstallDependencies = mkOption {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if we can test this option somehow

@isaacST08 isaacST08 force-pushed the module/wayle branch 2 times, most recently from 0a8919b to 0375bea Compare March 30, 2026 22:42
@isaacST08
Copy link
Copy Markdown
Author

isaacST08 commented Apr 5, 2026

@PerchunPak I'm having an issue where on first start only one of my two monitors is getting the wallpaper applied to it and is left with the default hyprland backdrop. It can quickly be fixed by running wayle wallpaper next && wayle wallpaper previous but such a fix shouldn't be necessary. I've tried tinkering with the systemd service and adding swww.service in various combinations to Wants, Requires and After under wayle.Unit but that did not solve the issue.

If you have two monitors you are able to test on, have you experienced such an issue?

Additionally, it is not consistent which monitor does not get the wallpaper applied to it but always at least one monitor does get the wallpaper which is a pretty clear indicator that is it a race condition (but other suggestions are more than welcome).

Any guesses or ideas would be appreciated.

@PerchunPak
Copy link
Copy Markdown
Contributor

This is something Jas should look at. Please open an issue at https://github.com/wayle-rs/wayle/

[ cfg.package ]
# Alias awww to swww.
++ (lists.optional settings.wallpaper.engine-enabled (
pkgs.writeShellScriptBin "awww" ''
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

swww was recently renamed to awww in nixpkgs-unstable, so this isn’t needed anymore. This PR targets the unstable branch, and we can open a backport once it’s merged.

styling = {
theme-provider = "wayle";
wallust-apply-globally = true;
pywal-apply-globally = true;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why set these two options?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

They were defaults (at the time of writing) for wayle that were used for some nix settings that are now removed and I forgot to remove those too.

I'll correct that now.

isaacST08 and others added 2 commits April 6, 2026 15:24
Update to respect `swww` being renamed to `awww`.

Co-authored-by: Perchun Pak <github@perchun.it>
@isaacST08
Copy link
Copy Markdown
Author

This is something Jas should look at. Please open an issue at https://github.com/wayle-rs/wayle/

Since renaming swww to awww, and updating to awww 0.12.0 in the process, I haven't had this particular issue (I've only rebooted twice though). I did possibly have one little anomaly so if that happens consistently I'll open an issue.

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