[PR #1519] Add storage_display_name option to StorageConfig on komorebi-bar storage widget #1442

Open
opened 2026-01-05 14:55:18 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/LGUG2Z/komorebi/pull/1519
Author: @1337cookie
Created: 8/1/2025
Status: 🔄 Open

Base: masterHead: bar-widget-storage-display-name-1337cookie


📝 Commits (2)

  • 6927368 Add storage_display_name option to StorageConfig
  • 3a60505 rustfmt

📊 Changes

1 file changed (+31 additions, -1 deletions)

View changed files

📝 komorebi-bar/src/widgets/storage.rs (+31 -1)

📄 Description

This PR adds a storage_display_name to the komorebi-bar storage widget config with options for Mount, Name, MountAndName and NameAndMount.

By default it will be Mount eg. "C:" which is the same as the old behavior. Using Name will give the label the disk was given. NameAndMount and MountAndName will combine the two.

Unnamed disks will have no value when using Name but would usually appear as "Local Disk" in windows explorer for example.

"Storage": {
    "enable": true,
    "storage_display_name": "Name",
    "label_prefix": "IconAndText"
}
image

🔄 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/1519 **Author:** [@1337cookie](https://github.com/1337cookie) **Created:** 8/1/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `bar-widget-storage-display-name-1337cookie` --- ### 📝 Commits (2) - [`6927368`](https://github.com/LGUG2Z/komorebi/commit/69273687719acdb254dd0d67f1ec665bb47fb3e5) Add storage_display_name option to StorageConfig - [`3a60505`](https://github.com/LGUG2Z/komorebi/commit/3a60505510af541b033a5cbb09af6fb545fdbfc7) rustfmt ### 📊 Changes **1 file changed** (+31 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `komorebi-bar/src/widgets/storage.rs` (+31 -1) </details> ### 📄 Description This PR adds a `storage_display_name` to the komorebi-bar storage widget config with options for Mount, Name, MountAndName and NameAndMount. By default it will be Mount eg. "C:\" which is the same as the old behavior. Using Name will give the label the disk was given. NameAndMount and MountAndName will combine the two. Unnamed disks will have no value when using Name but would usually appear as "Local Disk" in windows explorer for example. ``` "Storage": { "enable": true, "storage_display_name": "Name", "label_prefix": "IconAndText" } ``` <img width="430" height="24" alt="image" src="https://github.com/user-attachments/assets/a04a99a1-cbfb-4d0d-8b21-3c09f33f07e6" /> --- <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:55:18 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/komorebi#1442