From 03bdf34d32f26c66b93a6212f669b322f10a27f6 Mon Sep 17 00:00:00 2001 From: Skladnayazebra Date: Thu, 6 Nov 2025 20:13:39 +0100 Subject: Add battery status to tmux status line --- tmux/tmux.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tmux') 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%%%}\"') " -- cgit v1.3.1