[PR #1309] [CLOSED] feat(bar): add icons to workspace-layer widget #1315

Closed
opened 2026-01-05 14:54:51 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1309
Author: @CtByte
Created: 3/1/2025
Status: Closed

Base: masterHead: workspace-layer-icons


📝 Commits (10+)

  • 3d327c4 perf(reaper): switch to channel notifications
  • 1756983 build(cargo): add custom build profiles
  • 9d41a29 feat(wm): add tiling and floating ws layers
  • 3641ce6 fix(wm): take layer into account on ws restore
  • 13ee422 fix(wm): hide/restore floating windows on monocle toggle
  • 2bbc269 feat(wm): add padding per monitor
  • 974e5a2 refactor(bar): add extend_enum! macro
  • f0222dd fix(wm): properly load monitor on first connect
  • 990a339 fix(bar): apply work area offset on monitor reconnect
  • 394709e fix(reaper): avoid deadlocks at startup

📊 Changes

34 files changed (+2155 additions, -811 deletions)

View changed files

📝 Cargo.lock (+141 -215)
📝 Cargo.toml (+18 -4)
📝 README.md (+1 -1)
docs/cli/toggle-workspace-layer.md (+12 -0)
📝 justfile (+13 -1)
📝 komorebi-bar/Cargo.toml (+1 -1)
📝 komorebi-bar/src/bar.rs (+53 -52)
📝 komorebi-bar/src/config.rs (+96 -0)
📝 komorebi-bar/src/komorebi.rs (+220 -42)
📝 komorebi-bar/src/komorebi_layout.rs (+19 -10)
📝 komorebi-bar/src/render.rs (+63 -48)
📝 komorebi-bar/src/selected_frame.rs (+22 -12)
📝 komorebi-bar/src/time.rs (+14 -8)
📝 komorebi-client/src/lib.rs (+2 -0)
📝 komorebi-themes/Cargo.toml (+3 -3)
📝 komorebi/Cargo.toml (+1 -1)
📝 komorebi/src/border_manager/border.rs (+0 -2)
📝 komorebi/src/border_manager/mod.rs (+188 -82)
📝 komorebi/src/core/mod.rs (+1 -0)
📝 komorebi/src/main.rs (+13 -13)

...and 14 more files

📄 Description

This commits adds the ability to set icons for the workspace-layer with the DisplayFormat and a setting to specify if it should show_when_tiling or not.

collab with @alex-ds13

https://github.com/user-attachments/assets/cc3e95dd-ffe7-48df-a8b7-5a718170ed77


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/LGUG2Z/komorebi/pull/1309 **Author:** [@CtByte](https://github.com/CtByte) **Created:** 3/1/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `workspace-layer-icons` --- ### 📝 Commits (10+) - [`3d327c4`](https://github.com/LGUG2Z/komorebi/commit/3d327c407c27324d0acd623f9bdcf47fca56ee86) perf(reaper): switch to channel notifications - [`1756983`](https://github.com/LGUG2Z/komorebi/commit/1756983978dc0c2e42ed66006925afe3135036bb) build(cargo): add custom build profiles - [`9d41a29`](https://github.com/LGUG2Z/komorebi/commit/9d41a293f6dd0707ddfce35e0ca819ae1331643b) feat(wm): add tiling and floating ws layers - [`3641ce6`](https://github.com/LGUG2Z/komorebi/commit/3641ce6b42e5e9e451f8073802e932b990492e2a) fix(wm): take layer into account on ws restore - [`13ee422`](https://github.com/LGUG2Z/komorebi/commit/13ee42276d8deaab38c9ae4dfe733aa8aadc94b0) fix(wm): hide/restore floating windows on monocle toggle - [`2bbc269`](https://github.com/LGUG2Z/komorebi/commit/2bbc269b9fb380dcf1c9e62678fc2f62efccd7dc) feat(wm): add padding per monitor - [`974e5a2`](https://github.com/LGUG2Z/komorebi/commit/974e5a2b206c166086614de06f2e82c8908d1b55) refactor(bar): add extend_enum! macro - [`f0222dd`](https://github.com/LGUG2Z/komorebi/commit/f0222dd4abc9791888d55284c420d20c2627f454) fix(wm): properly load monitor on first connect - [`990a339`](https://github.com/LGUG2Z/komorebi/commit/990a339d4e7426f19898a6c9d195e7a1b99f054e) fix(bar): apply work area offset on monitor reconnect - [`394709e`](https://github.com/LGUG2Z/komorebi/commit/394709e35686c3f0f478ff2ff04f8a17bca53a4c) fix(reaper): avoid deadlocks at startup ### 📊 Changes **34 files changed** (+2155 additions, -811 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+141 -215) 📝 `Cargo.toml` (+18 -4) 📝 `README.md` (+1 -1) ➕ `docs/cli/toggle-workspace-layer.md` (+12 -0) 📝 `justfile` (+13 -1) 📝 `komorebi-bar/Cargo.toml` (+1 -1) 📝 `komorebi-bar/src/bar.rs` (+53 -52) 📝 `komorebi-bar/src/config.rs` (+96 -0) 📝 `komorebi-bar/src/komorebi.rs` (+220 -42) 📝 `komorebi-bar/src/komorebi_layout.rs` (+19 -10) 📝 `komorebi-bar/src/render.rs` (+63 -48) 📝 `komorebi-bar/src/selected_frame.rs` (+22 -12) 📝 `komorebi-bar/src/time.rs` (+14 -8) 📝 `komorebi-client/src/lib.rs` (+2 -0) 📝 `komorebi-themes/Cargo.toml` (+3 -3) 📝 `komorebi/Cargo.toml` (+1 -1) 📝 `komorebi/src/border_manager/border.rs` (+0 -2) 📝 `komorebi/src/border_manager/mod.rs` (+188 -82) 📝 `komorebi/src/core/mod.rs` (+1 -0) 📝 `komorebi/src/main.rs` (+13 -13) _...and 14 more files_ </details> ### 📄 Description This commits adds the ability to set icons for the `workspace-layer` with the `DisplayFormat` and a setting to specify if it should `show_when_tiling` or not. collab with @alex-ds13 https://github.com/user-attachments/assets/cc3e95dd-ffe7-48df-a8b7-5a718170ed77 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-01-05 14:54:51 +01:00
adam closed this issue 2026-01-05 14:54:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1315