mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#1243
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/ironbar/pull/1235
Author: @xMAC94x
Created: 11/10/2025
Status: ✅ Merged
Merged: 2/10/2026
Merged by: @JakeStanger
Base:
master← Head:xMAC94x/brightness📝 Commits (10+)
8aa5e1aimplement a backlight module which can use 2 dbus variantes as datasources (because non can fully controll Keyboards AND Screens)b3675c6remove useless trait on BacklightPropertiesb0e13d9rename module tobrightness016471ccleanup and allow for better defaults in login1fs mode by guessing the resource when a subresource is defined2a3b08amove update logic to controller and cache the default_resource_nameba02fa0allow smooth-scrolling by adding a custom multiplier, this also allows to swap up and down712fd89provide ipc support for brightness5c24086remove FsLogin1Sesson struct and make it functions only. remove duplicate code, cleanup some clones and make return types more readable. reduce the poll interval to 1000msbaae2a5add documentation for Brightness moduleebeb209adjust name of the config to review and smaller cleanups📊 Changes
12 files changed (+926 additions, -2 deletions)
View changed files
📝
Cargo.toml(+5 -2)➕
docs/modules/Brightness.md(+172 -0)➕
src/clients/brightness/dbus_keyboard.rs(+25 -0)➕
src/clients/brightness/dbus_login1.rs(+23 -0)➕
src/clients/brightness/fs_reader.rs(+96 -0)➕
src/clients/brightness/ironvar.rs(+126 -0)➕
src/clients/brightness/mod.rs(+43 -0)📝
src/clients/mod.rs(+21 -0)📝
src/config/mod.rs(+8 -0)📝
src/image/gtk.rs(+3 -0)➕
src/modules/brightness.rs(+402 -0)📝
src/modules/mod.rs(+2 -0)📄 Description
This implements a brightness module.
Note: I am using 2 dbus implementations here, because
KbdBacklightdoes not work for screens, butlogin1does not allow to read the data, only write it. (Reading is done via the filesystem here).This is my first PR on ironbar :)
Resolves #962
Feel free to give Feedback, I am happy to adjust commits or do followup PRs to further improve quality as necessary :)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.