fix(niri): set wallpaper when waybar is enabled

Previously setting wallpaper and starting xwayland-satellite was foiled
by an incorrect order precedence. Namely, rather than

    if cond then foo else bar ++ baz

being understood as

    (if cond then foo else bar) ++ baz

it was understood as

    if cond then foo else (bar ++ baz)

This caused the background to be a plain grey when waybar was enabled

Change-Id: Ife082af03ba7f4fa3afdb903046b4f580da886f7
Reviewed-on: https://git.clicks.codes/c/Chimera/NixFiles/+/904
Tested-by: Skyler Grey <minion@clicks.codes>
Reviewed-by: Samuel Shuert <coded@clicks.codes>
1 file changed
tree: bfeb91824a97448c9ea06fe2e345c3aa0f53d206
  1. homes/
  2. modules/
  3. packages/
  4. systems/
  5. .editorconfig
  6. .gitignore
  7. .gitreview
  8. .sops.nix
  9. configure.sh
  10. flake.lock
  11. flake.nix
  12. LICENSE.md
  13. README.md
  14. TODO.md
README.md

What is this?

Chimera is a shared NixOS and home-manager configuration, built using flakes and Snowfall Lib. Our aims are to support all of our members' needs while allowing us to share work that would otherwise be duplicated between us.

We are opinionated and often will not provide much customization in our modules, only adding more than enable where we believe there to be a distinct probability that multiple members will choose differently.

Who shares it?

Currently:

If you'd like to join us, send us a message at chimera@clicks.codes!

Can I get my patch submitted?

For sure! You need a review from at least 1 other chimera member who your patch affects. If there's nobody matching this description and you are a chimera member, submit away! If you're not a member then you'll need to become one - let us know you're interested at chimera@clicks.codes

License

Chimera is licensed under AGPL-3.0. We use this as our default license because we believe it gives a lot of freedoms to you without letting you restrict them for other people. For any file which does not specify otherwise you may use the code exclusively under this license. You may find a copy of this license in ./LICENSE.md or at https://www.gnu.org/licenses/agpl-3.0.en.html

Some of our code is adapted from other people's work and that code, as well as all code written by us in files containing substantial portions of their work is available under their license. For files where this applies we will include a header containing the full license text and copyright notices.