feat: add ghostty shader & update lazyvim config & update tmux style

This commit is contained in:
DACHXY 2025-01-02 20:25:08 +08:00
parent ec3e6697cd
commit 08451237fe
6 changed files with 182 additions and 14 deletions

View file

@ -0,0 +1,24 @@
#!/usr/bin/env bash
get_icons() {
local session_name="$1"
local result=""
local panes=($(tmux list-panes -t "$session_name" -F '#{pane_current_command}'))
for i in "${panes[@]}"; do
case "$i" in
nvim) result+=" " ;;
zsh | *) result+=" " ;;
esac
done
echo "$result"
}
if (($# != 1)); then
echo "Usage: $0 <session-name>"
exit 1
fi
get_icons "$1"