replaced echo with printf in statusbar script
This commit is contained in:
parent
6eee93e0e9
commit
de3f045601
2 changed files with 4 additions and 4 deletions
|
|
@ -4,4 +4,4 @@ HOST=$(hostname -s)
|
||||||
UTC=$(date -u +"%H:%M")
|
UTC=$(date -u +"%H:%M")
|
||||||
STRING_UP=$(echo "$UP")
|
STRING_UP=$(echo "$UP")
|
||||||
STRING_GMT=$(echo "UTC $UTC")
|
STRING_GMT=$(echo "UTC $UTC")
|
||||||
echo '#('echo $STRING_GMT') #[fg=green] #('echo $STRING_UP') #[fg=black bg=green] #('echo $HOST') '
|
printf "$STRING_GMT #[fg=green] $STRING_UP #[fg=black bg=green] $HOST "
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@ bind-key Right swap-window -t +1\; select-window -t +1
|
||||||
|
|
||||||
# pane border colors
|
# pane border colors
|
||||||
|
|
||||||
set -g pane-border-fg black
|
#set -g pane-border-fg black
|
||||||
set -g pane-active-border-fg white
|
#set -g pane-active-border-fg white
|
||||||
|
|
||||||
#
|
#
|
||||||
# status bar shenanigans
|
# status bar shenanigans
|
||||||
|
|
@ -47,4 +47,4 @@ set-window-option -g window-status-current-style "bg=green, fg=black"
|
||||||
set-window-option -g window-status-bell-style "fg=yellow"
|
set-window-option -g window-status-bell-style "fg=yellow"
|
||||||
set-window-option -g window-status-activity-style "fg=blue"
|
set-window-option -g window-status-activity-style "fg=blue"
|
||||||
set-window-option -g window-status-format ' #I #W '
|
set-window-option -g window-status-format ' #I #W '
|
||||||
set-window-option -g window-status-current-format ' #I #W '
|
set-window-option -g window-status-current-format ' #I #W '
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue