dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit b5dac034b0a957ea0790657718e18997d1eb4066
parent a89627212d2319e5d9d3507dc8ed3e23dd567e68
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Wed, 11 Jul 2018 16:20:37 +0200

Move tmux pane's date to more compact format

Diffstat:
Mtmux.conf | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmux.conf b/tmux.conf @@ -50,7 +50,7 @@ set -g status-left "#[fg=green]:::: #[fg=white]#(whoami)@#h #[fg=green]:: #[fg=w # show current uptime, user number, session name, window & pane number, date and time on right side of status bar # --> sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' <-- removes all leading and closing whitespaces of a string set -g status-right-length 100 -set -g status-right "#[fg=green]:: #[fg=white]#(date -u | awk '{print $1}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #[fg=white]- #[fg=white]#(date -u | awk '{print $3}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #(date -u | awk '{print $2}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #(date -u | awk '{print $6}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #[fg=white]- #[fg=white]#(date -u | awk '{print $4}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #(date -u | awk '{print $5}' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #[fg=green]::::" +set -g status-right "#[fg=green]:: #[fg=white]#(date --utc +%FW%V%a%T) #[fg=green]::::" # set the window info in the middle of the status bar set -g status-justify centre