[PR #1133] [MERGED] Rename Upower to Battery, tidy #1172

Closed
opened 2026-05-22 21:55:48 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1133
Author: @JakeStanger
Created: 8/26/2025
Status: Merged
Merged: 8/26/2025
Merged by: @JakeStanger

Base: masterHead: refactor/upower


📝 Commits (2)

  • ae4239c refactor(upower): tidy module code
  • 51e1f2d refactor!(upower): rename to battery

📊 Changes

13 files changed (+127 additions, -152 deletions)

View changed files

📝 .github/workflows/build.yml (+1 -1)
📝 Cargo.toml (+14 -10)
📝 docs/Compiling.md (+3 -1)
📝 docs/GTK4.md (+1 -1)
📝 docs/_Sidebar.md (+1 -1)
📝 docs/modules/Battery.md (+14 -14)
📝 src/clients/mod.rs (+3 -3)
📝 src/clients/upower/dbus.rs (+28 -4)
📝 src/config/mod.rs (+8 -8)
📝 src/image/gtk.rs (+5 -5)
📝 src/image/mod.rs (+4 -4)
📝 src/modules/battery.rs (+43 -95)
📝 src/modules/mod.rs (+2 -5)

📄 Description

BREAKING CHANGE: The upower module is now called battery. This affects both the module name and style class names.

Resolves #934


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/1133 **Author:** [@JakeStanger](https://github.com/JakeStanger) **Created:** 8/26/2025 **Status:** ✅ Merged **Merged:** 8/26/2025 **Merged by:** [@JakeStanger](https://github.com/JakeStanger) **Base:** `master` ← **Head:** `refactor/upower` --- ### 📝 Commits (2) - [`ae4239c`](https://github.com/JakeStanger/ironbar/commit/ae4239cbe92c2675d25aecf7afd4597c74bf12b9) refactor(upower): tidy module code - [`51e1f2d`](https://github.com/JakeStanger/ironbar/commit/51e1f2d45b4ab1f7e1842011e59cfef928f4a7a9) refactor!(upower): rename to `battery` ### 📊 Changes **13 files changed** (+127 additions, -152 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build.yml` (+1 -1) 📝 `Cargo.toml` (+14 -10) 📝 `docs/Compiling.md` (+3 -1) 📝 `docs/GTK4.md` (+1 -1) 📝 `docs/_Sidebar.md` (+1 -1) 📝 `docs/modules/Battery.md` (+14 -14) 📝 `src/clients/mod.rs` (+3 -3) 📝 `src/clients/upower/dbus.rs` (+28 -4) 📝 `src/config/mod.rs` (+8 -8) 📝 `src/image/gtk.rs` (+5 -5) 📝 `src/image/mod.rs` (+4 -4) 📝 `src/modules/battery.rs` (+43 -95) 📝 `src/modules/mod.rs` (+2 -5) </details> ### 📄 Description BREAKING CHANGE: The `upower` module is now called `battery`. This affects both the module name *and* style class names. Resolves #934 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
JakeStanger 2026-05-22 21:55:48 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/ironbar#1172
No description provided.