[PR #1141] [MERGED] feat(bar): komorebi widget visual changes #1220

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

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1141
Author: @CtByte
Created: 11/24/2024
Status: Merged
Merged: 12/3/2024
Merged by: @LGUG2Z

Base: masterHead: komorebi_widget


📝 Commits (10+)

  • 509970e selected and hover effect on the focused window widget
  • cb2f2cb added SelectableFrame module
  • 295a7e7 fix(bar): correct network widget icon colour
  • 5619c57 fix(subscriptions): add override for title updates
  • 180f6d0 feat(bar): support floating window title updates
  • b2e2adb chore(deps): bump rustls from 0.23.16 to 0.23.18
  • 77e3de8 chore(deps): bump clap from 4.5.20 to 4.5.21
  • 1c8046b chore(deps): bump serde_json from 1.0.132 to 1.0.133
  • a3613d2 chore(deps): bump serde from 1.0.214 to 1.0.215
  • f9a6b49 refactor(animation): new animations engine

📊 Changes

8 files changed (+731 additions, -292 deletions)

View changed files

📝 komorebi-bar/src/config.rs (+10 -0)
📝 komorebi-bar/src/komorebi.rs (+326 -291)
komorebi-bar/src/komorebi_layout.rs (+311 -0)
📝 komorebi-bar/src/main.rs (+2 -0)
📝 komorebi-bar/src/render.rs (+16 -0)
komorebi-bar/src/selected_frame.rs (+55 -0)
📝 komorebi/src/process_event.rs (+2 -0)
📝 komorebi/src/window_manager_event.rs (+9 -1)

📄 Description

The visual changes include:

  • the focused_window section is now indicating the active window in a stack and has hover effect.
  • custom icons for all the layouts, including paused, floating, monocle states.
  • custom layout/state picker with configurable options.
  • display format configuration for the layouts (Icon/Text/IconAndText)
  • display format configuration for the focused_window section (Icon/Text/IconAndText)
  • display format configuration for the workspaces section (Icon/Text/IconAndText)

Focused window section

https://github.com/user-attachments/assets/dbee2e98-7e4a-419f-b13a-809a31cf107c

image

        "focused_window": {
          "enable": true,
          "display": "Icon"
        }

Layout section

https://github.com/user-attachments/assets/1f7c4e9c-1f94-4fdd-bc7c-71a0cd04d894

image

        "layout": {
          "enable": true,
          "display": "Icon",
          "options": [
            "BSP",
            "UltrawideVerticalStack",
            "Floating",
            "Custom"
          ]
        },

Configuration switcher

image

        "configuration_switcher": {
          "enable": true,
          "configurations": {
            "one": "...\\komorebi.json",
            "two": "...\\komorebi.home.json"
          }
        },

Workspace section

image

image

        "workspaces": {
          "enable": true,
          "display": "Icon"
        },

🔄 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/1141 **Author:** [@CtByte](https://github.com/CtByte) **Created:** 11/24/2024 **Status:** ✅ Merged **Merged:** 12/3/2024 **Merged by:** [@LGUG2Z](https://github.com/LGUG2Z) **Base:** `master` ← **Head:** `komorebi_widget` --- ### 📝 Commits (10+) - [`509970e`](https://github.com/LGUG2Z/komorebi/commit/509970e3ea039e2874d09c0a3f3f30db4008203e) selected and hover effect on the focused window widget - [`cb2f2cb`](https://github.com/LGUG2Z/komorebi/commit/cb2f2cb9f96093672e6647638ec70cb9aa0cb142) added SelectableFrame module - [`295a7e7`](https://github.com/LGUG2Z/komorebi/commit/295a7e7c22032a9b4599265aab81753464ad7faf) fix(bar): correct network widget icon colour - [`5619c57`](https://github.com/LGUG2Z/komorebi/commit/5619c573d0612406158773e48975fe05e4cb95ed) fix(subscriptions): add override for title updates - [`180f6d0`](https://github.com/LGUG2Z/komorebi/commit/180f6d0342ea964e9dff44454e2b2302d841e746) feat(bar): support floating window title updates - [`b2e2adb`](https://github.com/LGUG2Z/komorebi/commit/b2e2adb776b4b77d8972fd9e012b3d564969cc5e) chore(deps): bump rustls from 0.23.16 to 0.23.18 - [`77e3de8`](https://github.com/LGUG2Z/komorebi/commit/77e3de897206302787ee4846ebec928e1e1070a3) chore(deps): bump clap from 4.5.20 to 4.5.21 - [`1c8046b`](https://github.com/LGUG2Z/komorebi/commit/1c8046bd7220df082645dd2fb963bdbf2970fb26) chore(deps): bump serde_json from 1.0.132 to 1.0.133 - [`a3613d2`](https://github.com/LGUG2Z/komorebi/commit/a3613d2a7c9ff935de5125c4b2d7fec4765433ea) chore(deps): bump serde from 1.0.214 to 1.0.215 - [`f9a6b49`](https://github.com/LGUG2Z/komorebi/commit/f9a6b4932f673476b950afa93e027f59a4b54126) refactor(animation): new animations engine ### 📊 Changes **8 files changed** (+731 additions, -292 deletions) <details> <summary>View changed files</summary> 📝 `komorebi-bar/src/config.rs` (+10 -0) 📝 `komorebi-bar/src/komorebi.rs` (+326 -291) ➕ `komorebi-bar/src/komorebi_layout.rs` (+311 -0) 📝 `komorebi-bar/src/main.rs` (+2 -0) 📝 `komorebi-bar/src/render.rs` (+16 -0) ➕ `komorebi-bar/src/selected_frame.rs` (+55 -0) 📝 `komorebi/src/process_event.rs` (+2 -0) 📝 `komorebi/src/window_manager_event.rs` (+9 -1) </details> ### 📄 Description The visual changes include: - the focused_window section is now indicating the active window in a stack and has hover effect. - custom icons for all the layouts, including `paused`, `floating`, `monocle` states. - custom layout/state picker with configurable options. - display format configuration for the layouts (Icon/Text/IconAndText) - display format configuration for the focused_window section (Icon/Text/IconAndText) - display format configuration for the workspaces section (Icon/Text/IconAndText) --- ## Focused window section https://github.com/user-attachments/assets/dbee2e98-7e4a-419f-b13a-809a31cf107c ![image](https://github.com/user-attachments/assets/6ad1a7ca-f31f-48f6-8526-73c24b33f7e2) ```json "focused_window": { "enable": true, "display": "Icon" } ``` ## Layout section https://github.com/user-attachments/assets/1f7c4e9c-1f94-4fdd-bc7c-71a0cd04d894 ![image](https://github.com/user-attachments/assets/c5b86505-4cea-492b-9931-65170defb720) ```json "layout": { "enable": true, "display": "Icon", "options": [ "BSP", "UltrawideVerticalStack", "Floating", "Custom" ] }, ``` ## Configuration switcher ![image](https://github.com/user-attachments/assets/9c432975-3555-42b3-9f48-903d710aed1c) ```json "configuration_switcher": { "enable": true, "configurations": { "one": "...\\komorebi.json", "two": "...\\komorebi.home.json" } }, ``` ## Workspace section ![image](https://github.com/user-attachments/assets/74ad468b-c1ab-47c7-89a6-38e57241d9dc) ![image](https://github.com/user-attachments/assets/675d31dd-6497-4853-9ead-cec252e0d3f7) ```json "workspaces": { "enable": true, "display": "Icon" }, ``` --- <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:30 +01:00
adam closed this issue 2026-01-05 14:54:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1220