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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/1519
Author: @1337cookie
Created: 8/1/2025
Status: 🔄 Open
Base:
master← Head:bar-widget-storage-display-name-1337cookie📝 Commits (2)
6927368Add storage_display_name option to StorageConfig3a60505rustfmt📊 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_nameto 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.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.