Enhance shell widgets, tmux status, and git colors

- Add frecency scoring + git status boost to ^E edit widget
- Add network latency indicator to tmux status bar (wifi/wired detection, 10s cache)
- Add powerline separators between tmux status sections
- Swap git status colors: modified=bluish grey, untracked=amber (prompt, gitconfig, widget)
- Remove bold from feature branch name in prompt
- Add gw (git show) and gdm (diff against default branch) aliases

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-25 14:45:21 +00:00
parent 53bd2f49ef
commit dc6b117016
6 changed files with 65 additions and 9 deletions

View File

@@ -53,10 +53,10 @@ _dots_load_keybindings() {
for (f in git) printf "100000\t%s\t%s\n", clr(git[f]), f
}
function clr(st) {
if (st ~ /^\?\?/) return "\033[90m?\033[0m"
if (st ~ /^\?\?/) return "\033[33m?\033[0m"
if (st ~ /^R/) return "\033[36mR\033[0m"
if (st ~ /^A/) return "\033[32mA\033[0m"
if (st ~ /M/) return "\033[33mM\033[0m"
if (st ~ /M/) return "\033[38;5;103mM\033[0m"
return "\033[90m~\033[0m"
}' /dev/null 2>/dev/null | sort -rn | cut -f2-
rg --files --hidden --glob '!.git' 2>/dev/null | awk '{print " \t" $0}'