diff options
Diffstat (limited to 'tmux/tmux.conf')
| -rw-r--r-- | tmux/tmux.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 3f2a585..2267017 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -25,3 +25,5 @@ set-window-option -g window-status-current-format ' #I:#W ' # open pane splits at the same path as current pane bind '"' split-window -v -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" + +set-window-option -g status-right "%H:%M %d-%b-%y #(upower -i /org/freedesktop/UPower/devices/DisplayDevice | awk '/percentage:/ {print \$2}' | bash -c 'read s; printf \"%.0f%%%%\" \"\${s%%%}\"') " |
