mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 08:15:21 +01:00
[PR #769] [MERGED] feat: Minimize focused window option for launcher #5151
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#5151
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/769
Author: @pachliopta
Created: 11/10/2024
Status: ✅ Merged
Merged: 11/24/2024
Merged by: @JakeStanger
Base:
master← Head:minimize📝 Commits (1)
64b953cfeat(launcher): add option to minimize window if focused📊 Changes
6 files changed (+58 additions, -7 deletions)
View changed files
📝
docs/modules/Launcher.md(+1 -0)📝
src/clients/wayland/mod.rs(+15 -0)📝
src/clients/wayland/wlr_foreign_toplevel/handle.rs(+5 -0)📝
src/clients/wayland/wlr_foreign_toplevel/mod.rs(+9 -0)📝
src/modules/launcher/item.rs(+12 -5)📝
src/modules/launcher/mod.rs(+16 -2)📄 Description
This PR adds a new config option
minimize_focusedto the launcher module, which when set to true will minimize the currently focused window if its icon is clicked. If there is more than a single window open of that particular application the normal focus behavior will occur.I haven't written much rust before, but hopefully it's relatively problem free!
Resolves #658
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.