mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 11:02:19 +00:00
tmux
This commit is contained in:
parent
13e57fe467
commit
646eb5df0f
1 changed files with 2 additions and 3 deletions
|
|
@ -96,7 +96,6 @@
|
||||||
|
|
||||||
set-option -g status-position bottom
|
set-option -g status-position bottom
|
||||||
set-option -g status-style bg=''${BG},fg=''${FG}
|
set-option -g status-style bg=''${BG},fg=''${FG}
|
||||||
set-option -g prompt-cursor-colour '#d4be98'
|
|
||||||
set-option -g status-justify left
|
set-option -g status-justify left
|
||||||
set-option -g status-left ""
|
set-option -g status-left ""
|
||||||
set-option -g status-right "#(~/.config/tmux/session-list.sh)"
|
set-option -g status-right "#(~/.config/tmux/session-list.sh)"
|
||||||
|
|
@ -113,7 +112,7 @@
|
||||||
|
|
||||||
set-option -g window-status-current-format "\
|
set-option -g window-status-current-format "\
|
||||||
\
|
\
|
||||||
*#I\
|
#[fg=''${MAGENTA}]*#[fg=default]#I\
|
||||||
#[fg=''${MAGENTA}]:\
|
#[fg=''${MAGENTA}]:\
|
||||||
#[fg=default]#W\
|
#[fg=default]#W\
|
||||||
\
|
\
|
||||||
|
|
@ -134,7 +133,7 @@
|
||||||
current=$(tmux display-message -p '#S')
|
current=$(tmux display-message -p '#S')
|
||||||
tmux list-sessions -F '#S' | while IFS= read -r s; do
|
tmux list-sessions -F '#S' | while IFS= read -r s; do
|
||||||
if [ "$s" = "$current" ]; then
|
if [ "$s" = "$current" ]; then
|
||||||
printf ' *%s ' "$s"
|
printf ' #[fg=#d3869b]*#[fg=default]%s ' "$s"
|
||||||
else
|
else
|
||||||
printf ' %s ' "$s"
|
printf ' %s ' "$s"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue