Skip to content

Add Git Root Dir widget#119

Merged
sirmalloc merged 5 commits into
sirmalloc:mainfrom
tim-watcha:feature/git-root-dir-widget
Feb 21, 2026
Merged

Add Git Root Dir widget#119
sirmalloc merged 5 commits into
sirmalloc:mainfrom
tim-watcha:feature/git-root-dir-widget

Conversation

@tim-watcha
Copy link
Copy Markdown
Contributor

@tim-watcha tim-watcha commented Dec 6, 2025

Summary

  • Add a new widget that displays the git repository root directory name
  • Shows only the directory name (e.g., "my-repo") for a clean, minimal display
  • Supports hideNoGit option to hide the widget when not in a git repository
  • Useful for quickly identifying which project you're working on when switching between multiple projects

🤖 Generated with Claude Code

tim-watcha and others added 3 commits December 6, 2025 15:06
Add a new widget that displays the git repository root directory name.
- Shows directory name with 📁 icon (e.g., "📁 my-repo")
- Supports rawValue option for icon-free display
- Supports hideNoGit option to hide message when not in a git repo

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace 📁 emoji with "Repo:" text label for better compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Display only the repository name without any prefix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tim-watcha
Copy link
Copy Markdown
Contributor Author

스크린샷 2025-12-06 오후 3 15 08

@sirmalloc sirmalloc merged commit f83e7d2 into sirmalloc:main Feb 21, 2026
@sirmalloc
Copy link
Copy Markdown
Owner

Thanks for this, I'll push it out in the next release

BenIsLegit pushed a commit to BenIsLegit/ccstatusline-usage that referenced this pull request Mar 28, 2026
* Add Git Root Dir widget

Add a new widget that displays the git repository root directory name.
- Shows directory name with 📁 icon (e.g., "📁 my-repo")
- Supports rawValue option for icon-free display
- Supports hideNoGit option to hide message when not in a git repo

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Change Git Root Dir widget icon to text label

Replace 📁 emoji with "Repo:" text label for better compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Remove label from Git Root Dir widget

Display only the repository name without any prefix.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Fix GitRootDir root path handling and raw mode

---------

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Matthew Breedlove <sirmalloc@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants