mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 06:15:21 +01:00
[GH-ISSUE #1258] Generic DBus listener module #7406
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#7406
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?
Originally created by @bandithedoge on GitHub (Nov 24, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1258
Is your feature request related to a problem? Please describe.
Since DBus signals are widely used as an efficient way to track the status of various system components, I think a module that simply listens to a specified property would make it easier to avoid writing shell scripts for things like UPower and iwd.
Describe the solution you'd like
A custom module that listens to DBus properties. The value could later be processed by piping it to a specified command or using a Lua function.
Describe alternatives you've considered
dbus-monitorAdditional context
We already use lgi for the Cairo module, maybe something in the spirit of https://github.com/stefano-m/lua-dbus_proxy could work?
@JakeStanger commented on GitHub (Nov 24, 2025):
This sounds potentially very powerful. There may be a declarative approach that's good enough, but that needs some thought. It could potentially even be an extension of the dynamic string or ironvar system, assuming that doesn't end up too messy.
Just to say - the
batterymodule already hooks intoUpower, unless there's something missing from that you'd like?@bandithedoge commented on GitHub (Nov 25, 2025):
I know, I implemented it myself with a shell script anyway because I wanted custom text icons.