mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #1519] Add storage_display_name option to StorageConfig on komorebi-bar storage widget #1442
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/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.