dotfiles

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

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

Remove unimportant info from tmux pane

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]uptime #(uptime | cut -d' ' -f3-5 | cut -d',' -f 1 | cut -d' ' -f 2-3 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') #[fg=green]:: #[fg=white]#(users | tr ' ' '\n' | uniq | wc -l | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') users #[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 -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 the window info in the middle of the status bar set -g status-justify centre