Skip to content

Conversation

@NotAShelf
Copy link
Owner

@NotAShelf NotAShelf commented Jun 15, 2025

A comprehensive overhaul for Watt. Features a new DSL, proper shell completions and more. While this is mostly internal (i.e., the core logic has been kept the same) there have been a great effort to make the codebase more maintainable and more efficient, while also making Watt more transparent.

TODO

  • Update README
    • New configuration example and DSL
    • Building installations (cargo xtask dist)
  • Update NixOS module
  • Update Nix package

RGBCube and others added 10 commits September 9, 2025 17:09
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964fd42cd1e3d7e851db282bab77418b7e6
Makes it so that expressions like `is-governor-available` are evaluated
with the correct CPU context, which in turn improves per-CPU
configuration accuracy. This, put nicely, fixes Watt.

Adds `EvalState.current_cpu` and refactors `CpuDelta::apply` to
accommodate my changes.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964130ca1d1af0e675f8ae041d088a95707
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964776f26846b0c58e4cfd70e4e91cc2916
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964d037c23e42d2bda7ed690358fc8d4f84
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964c274f7bc020d519ed78bdf7ea02830b8
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1c725d90a4d5a5ecb635a2e1a83c4f266a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Iecbcaca8535dabaf2978f232a1d9b25a6a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I1821e78adcb0cfc7b77797c67ef846796a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I38228acce23284c7159e992eaaebd76f6a6a6964
@NotAShelf NotAShelf marked this pull request as ready for review October 29, 2025 17:51
NotAShelf and others added 19 commits November 15, 2025 20:25
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I046176ddbb60abef203ff1abd2d6f5a16a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I308bda74e6f67cc63e39494b635dc5f76a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I8723496b5011de8098fae22f7e93f21c6a6a6964
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I17027194242f25f7b662c8d7117800866a6a6964
This is more about setting a precedent than the test itself, but I do like my tests. Now we'll know if it breaks, if at all.

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I3059c9c0b1023a9f203e6272f03494076a6a6964
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