mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1415] [MERGED] Add Applications Widget for Launching Configurable App Shortcuts #1393
Reference in New Issue
Block a user
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/LGUG2Z/komorebi/pull/1415
Author: @JustForFun88
Created: 4/21/2025
Status: ✅ Merged
Merged: 4/27/2025
Merged by: @LGUG2Z
Base:
master← Head:Applications📝 Commits (1)
24351ebAdd Applications widget with possibility to use📊 Changes
5 files changed (+688 additions, -1 deletions)
View changed files
➕
komorebi-bar/src/widgets/applications.rs(+333 -0)📝
komorebi-bar/src/widgets/komorebi.rs(+1 -1)📝
komorebi-bar/src/widgets/mod.rs(+1 -0)📝
komorebi-bar/src/widgets/widget.rs(+5 -0)📝
schema.bar.json(+348 -0)📄 Description
This pull request introduces a new Applications widget that displays a user-defined list of application launchers in the UI. Each app entry supports an icon, a label, and executes its configured command on click.
The design of this widget is inspired by the Applications Widget of YASB Reborn. I personally missed this functionality and aimed to bring a similar experience to
komorebi-bar.Features
Limitations
Only image-based icons and Windows .exe embedded icons are currently supported. I made the attempt to support glyph icons from Nerd Fonts, but it failed—most likely due to the font not being properly loaded or for another reason. This may be revisited in the future.
Example Configuration
Full Configuration Schema
Below is the full set of available configuration options for the Applications widget:
Applications (root)
applicationsconfigapplications (per application entry)
Display Format (string values)
https://github.com/user-attachments/assets/80077210-8b67-4f4e-bc03-f523821aa5e3
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.