Daylight bar chrome + embedded launcher, v0.7.5 pins #5

Merged
Breadway merged 41 commits from feature/theme-spotlight into main 2026-08-31 18:14:19 +08:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit a806ac08c1 - Show all commits

View file

@ -431,6 +431,9 @@ impl WorkspaceTrail {
self.inner.borrow_mut().tick = Some(id);
}
// `from` is a noun here (the source button we animate away from), not a
// conversion — `&self` is correct.
#[allow(clippy::wrong_self_convention)]
fn from_geom(&self, from: Option<&gtk4::Button>, to: &gtk4::Button) -> Option<Geom> {
let st = self.inner.borrow();
let live = if self.pill.is_visible() && st.geom.w > 0.5 {

View file

@ -217,10 +217,16 @@ pub struct App {
// ── Stats bar ─────────────────────────────────────────────────────────
// Island chrome matches the Liquid Motion demo: volume / wifi / battery
// / hamburger. CPU/RAM/power live in the control panel, not on the bar.
// Held to keep the control-panel sys-grid widgets alive for the App's
// lifetime; their parent boxes own them, so they're never read back.
#[allow(dead_code)]
system_stats_box: gtk4::Box,
system_sep: gtk4::Separator,
#[allow(dead_code)]
cpu_pair: gtk4::Box,
#[allow(dead_code)]
mem_pair: gtk4::Box,
#[allow(dead_code)]
pwr_pair: gtk4::Box,
gpu_pair: gtk4::Box,
cpu_lbl: gtk4::Label,