config(lazygit): add lazygit config files

This commit is contained in:
Prad Nukala committed 2026-07-16 13:25:15 -04:00
commit 18ea03d041
13 files changed
+2529

No files matched your search

+40
View File
@@ -0,0 +1,40 @@
#!/bin/sh
# ~/.config/tmux/niri-title.sh
# Builds the context segment for tmux set-titles-string (consumed by Niri).
# Priority: ssh target > nvim file > git branch > cwd basename
# Args: $1 pane_current_command $2 pane_current_path $3 pane_tty $4 pane_title
cmd=$1 path=$2 tty=$3 title=$4
# 1) Remote session → "󰣀 user@host"
case "$cmd" in
ssh | mosh-client | autossh | et)
target=$(ps -o args= -t "$tty" 2>/dev/null | awk '
/(^|\/)((auto)?ssh|mosh-client|et) / {
for (i = 2; i <= NF; i++)
if ($i !~ /^-/) { print $i; exit }
}')
printf '󰣀 %s' "${target:-remote}"
exit 0
;;
esac
# 2) Editor → pane title (nvim sets "file – NVIM" when vim.opt.title = true)
case "$cmd" in
nvim | vim)
if [ -n "$title" ] && [ "$title" != "$(hostname)" ]; then
printf ' %s' "$title"
exit 0
fi
;;
esac
# 3) Git repo → "dir branch"
branch=$(git -C "$path" branch --show-current 2>/dev/null)
if [ -n "$branch" ]; then
printf '%s  %s' "$(basename "$path")" "$branch"
exit 0
fi
# 4) Fallback → cwd basename
basename "$path"
+1
View File
@@ -0,0 +1 @@
/home/prad/.config/dotstate/storage/Vertical-Rogz_AppleStudio/.config/tmux/tmux.conf
@@ -0,0 +1,26 @@
config:
fallback-icon: "\U000F08D9" # show when no definition is found
multi-pane-icon: "" # show when window has multiple panes (blank by default)
show-name: true # show the window name with the icon (defaults to false)
icon-position: "left" # show the icon to the "left" or "right" of the window name (defaults to left)
icons:
mprocs: "\U000F012A"
mm: ""
macmon: ""
make: ""
zsh: "\U000F07B7"
nvim: ""
devbox: ""
psql: ""
yazi: ""
lazygit: ""
gh: ""
tv: ""
docker: "\U000F0868"
bun: ""
node: ""
npm: ""
pnpm: ""
go: ""
bunx: "\U000F012A"
claude: "󱜙"