mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[PR #823] [MERGED] refactor: replace channel macros with ext trait methods #5188
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#5188
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/823
Author: @JakeStanger
Created: 12/28/2024
Status: ✅ Merged
Merged: 5/18/2025
Merged by: @JakeStanger
Base:
master← Head:refactor/remove-macros📝 Commits (1)
f929aefrefactor: replace channel macros with ext trait methods📊 Changes
50 files changed (+657 additions, -475 deletions)
View changed files
➕
src/channels.rs(+155 -0)📝
src/clients/clipboard.rs(+10 -8)📝
src/clients/compositor/hyprland.rs(+31 -42)📝
src/clients/compositor/niri/mod.rs(+3 -2)📝
src/clients/compositor/sway.rs(+11 -13)📝
src/clients/libinput.rs(+4 -3)📝
src/clients/music/mpd.rs(+4 -3)📝
src/clients/music/mpris.rs(+8 -5)📝
src/clients/swaync/mod.rs(+3 -2)📝
src/clients/volume/mod.rs(+3 -2)📝
src/clients/volume/sink.rs(+6 -5)📝
src/clients/volume/sink_input.rs(+6 -5)📝
src/clients/wayland/mod.rs(+15 -12)📝
src/clients/wayland/wl_output.rs(+13 -22)📝
src/clients/wayland/wlr_data_control/mod.rs(+9 -10)📝
src/clients/wayland/wlr_foreign_toplevel/mod.rs(+7 -4)📝
src/dynamic_value/dynamic_bool.rs(+8 -7)📝
src/dynamic_value/dynamic_string.rs(+7 -6)📝
src/image/provider.rs(+5 -5)📝
src/ipc/server/mod.rs(+6 -6)...and 30 more files
📄 Description
Big refactor. Replaces all the macros related to channels (send/receive) with traits and extension methods, which is a little bit cleaner and should give the tooling a better shot.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.