mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 12:15:22 +01:00
[PR #855] [MERGED] feat: rename sway_mode to bindmode and add Hyprland support #9425
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#9425
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/855
Author: @Rodrigodd
Created: 1/31/2025
Status: ✅ Merged
Merged: 4/22/2025
Merged by: @JakeStanger
Base:
master← Head:feat/module-bindmode📝 Commits (3)
5a5b110feat: rename sway_mode to bindmode and add Hyprland support638f2a2refactor: avoid explicity cast with long typeca3a2e3ci: add bindmode to feature-checks matrix📊 Changes
13 files changed (+209 additions, -82 deletions)
View changed files
📝
.github/workflows/build.yml(+3 -0)📝
Cargo.toml(+6 -0)📝
docs/GTK4.md(+1 -1)📝
docs/_Sidebar.md(+1 -1)📝
docs/modules/Bindmode.md(+12 -12)📝
src/clients/compositor/hyprland.rs(+58 -21)📝
src/clients/compositor/mod.rs(+41 -6)📝
src/clients/compositor/sway.rs(+33 -0)📝
src/clients/mod.rs(+21 -1)📝
src/config/mod.rs(+6 -6)📝
src/modules/bindmode.rs(+25 -31)📝
src/modules/mod.rs(+2 -2)➖
src/modules/sway/mod.rs(+0 -1)📄 Description
I am currently migrating from sway to Hyprland, and so I added support for Hyprland in the sway_mode module. Because the module is no longer sway-only, I decided to rename to a more generic name. This feature does not have a consistent name across window managers, i3/Sway calls it binding mode, while Hyprland calls it Keybind submaps. But "bindmode" appears to be a good enough name.
I made "sway_mode" be a alias for "bindmode" to avoid breaking configs that use the previous name, but I can remove that if you prefer.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.