1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-09-18 12:46:58 +02:00
Commit graph

22 commits

Author SHA1 Message Date
f83c9e6852
refactor(networkmanager): merge devices and watchers fields in ClientInner 2025-09-04 11:17:42 +02:00
01de9da7e0
refactor(networkmanager): store property watcher join handles & stop them when no longer needed
Also optimise dbus connection and proxy creation.
2025-09-03 18:11:56 +02:00
13c2520c76
refactor(networkmanager): use inner client with static lifetime, make its functions methods 2025-09-03 12:41:20 +02:00
5385c7e705
refactor(networkmanager): Replace Mutex with RwLock for shared state in run(), add debug logging 2025-09-03 11:29:40 +02:00
3ffb668e6b
refactor(networkmanager): pass device proxy directly to device state watcher
Also clarify what receiver we're dealing with in handle_update_events.
2025-09-02 23:23:44 +02:00
4c516a1c2a
refactor(networkmanager): rename DeviceStateChanged event to DeviceChanged
Also add a little TODO about icon order.
2025-09-02 22:44:14 +02:00
ec00b2ce69
refactor(networkmanager): break Client::run up into multiple functions
Also replace its shared state lifetime and synchonisation mechanisms with Arc<Mutex<_>>.
2025-09-02 22:26:30 +02:00
226b32ce6a
fix(networkmanager): support late module initialisation
For example when a second monitor is connected while Ironbar is already running.
2025-09-02 20:42:26 +02:00
dfad982204
refactor(networkmanager): implement clippy::pedantic suggestions 2025-08-20 19:08:42 +02:00
e6f610687c
refactor(networkmanager): remove unnecessary async & unused fields 2025-08-17 21:15:10 +02:00
8bb95e2e3f
fix(networkmanager): prevent race condition, support all device types 2025-08-17 20:57:40 +02:00
1836ab2943
refactor(networkmanager): replace state-based w/ event-based approach 2025-08-16 15:31:06 +02:00
9ca5f4baa4
WIP failed attempt at StreamMap-based implementation 2025-08-14 18:14:31 +02:00
26686739a0
WIP update of networkmanager & volume modules 2025-08-10 16:37:55 +02:00
97bbddb5e0
fix: issues introduced by merge (see parent) 2024-08-04 22:19:51 +02:00
de479f167c
refactor: remove unnecessary blocks 2024-06-19 21:48:19 +02:00
a9cd5f5489
refactor: extract selective state update macro 2024-06-19 21:24:27 +02:00
465d16800a
fix: only update relevant parts of state upon property change 2024-06-19 20:57:26 +02:00
d56f76f6a8
refactor: extract initialisation macro 2024-06-18 01:19:04 +02:00
2ae8d50cab
refactor: extract property and path list watcher macros 2024-06-18 00:01:30 +02:00
39eb3cf917
fix: state not being set properly in initialisation 2024-06-17 15:33:12 +02:00
4182038643
feat: actually implement icon per connection type 2024-06-17 13:26:55 +02:00