[PR #572] feat: add --dim flag to render percent bars in dark grey #556

Open
opened 2026-06-08 11:29:22 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bootandy/dust/pull/572
Author: @aleeraser
Created: 4/22/2026
Status: 🔄 Open

Base: masterHead: feat/dim-white-bars


📝 Commits (1)

  • 8414449 feat: add --dim flag to render percent bars in dark grey

📊 Changes

11 files changed (+27 additions, -6 deletions)

View changed files

📝 README.md (+1 -2)
📝 completions/_dust (+1 -0)
📝 completions/_dust.ps1 (+1 -0)
📝 completions/dust.bash (+1 -1)
📝 completions/dust.elv (+1 -0)
📝 completions/dust.fish (+1 -0)
📝 man-page/dust.1 (+4 -1)
📝 src/cli.rs (+4 -0)
📝 src/config.rs (+4 -0)
📝 src/display.rs (+8 -2)
📝 src/main.rs (+1 -0)

📄 Description

This has been bugging me since quite some time.
Bars default to terminal color; --dim applies DarkGray (ANSI 8) to reduce brightness on dark-background terminals.
Also configurable via dim = true in config.toml.

Note: this is AI generated, but built and tested manually.

Before:

image

After:

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/bootandy/dust/pull/572 **Author:** [@aleeraser](https://github.com/aleeraser) **Created:** 4/22/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `feat/dim-white-bars` --- ### 📝 Commits (1) - [`8414449`](https://github.com/bootandy/dust/commit/84144497b7bcd0bd376af5ef0535fc8f14011a95) feat: add --dim flag to render percent bars in dark grey ### 📊 Changes **11 files changed** (+27 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -2) 📝 `completions/_dust` (+1 -0) 📝 `completions/_dust.ps1` (+1 -0) 📝 `completions/dust.bash` (+1 -1) 📝 `completions/dust.elv` (+1 -0) 📝 `completions/dust.fish` (+1 -0) 📝 `man-page/dust.1` (+4 -1) 📝 `src/cli.rs` (+4 -0) 📝 `src/config.rs` (+4 -0) 📝 `src/display.rs` (+8 -2) 📝 `src/main.rs` (+1 -0) </details> ### 📄 Description This has been bugging me since quite some time. Bars default to terminal color; --dim applies DarkGray (ANSI 8) to reduce brightness on dark-background terminals. Also configurable via `dim = true` in config.toml. Note: this is AI generated, but built and tested manually. Before: <img width="1062" height="540" alt="image" src="https://github.com/user-attachments/assets/630aee9a-5c11-425f-b101-33934d357af8" /> After: <img width="1062" height="540" alt="image" src="https://github.com/user-attachments/assets/203bca54-8e63-420f-8fab-58660182786d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-06-08 11:29:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bootandy/archived-dust#556