From acaac895ade6691d44dadf23ee41db87f7e6320e Mon Sep 17 00:00:00 2001 From: Jaroslaw Konik Date: Mon, 28 Jul 2025 18:58:39 +0200 Subject: [PATCH] update --- tmux.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/tmux.conf b/tmux.conf index 1161867..b2da990 100644 --- a/tmux.conf +++ b/tmux.conf @@ -22,6 +22,7 @@ if-shell 'command -v playerctl' { set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]#(playerctl metadata --format '{{artist}} - {{title}}')#[fg=color150,bg=default]#[bg=default] " } set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]Power: #(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep "energy-rate" | awk '{print $2}')W#[fg=color150,bg=default]#[bg=default] " +set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]Battery: #(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep "percentage" | awk '{print $2}')#[fg=color150,bg=default]#[bg=default] " set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]CPU:#(uptime | awk -F'load average:' '{ print \$2 }' | cut -d',' -f1)#[fg=color150,bg=default]#[bg=default] " set -ag @minimal-tmux-status-right-extra "#[fg=color150]#[bg=color150,fg=black]RAM: #(free -h | awk '/^Mem:/ {print \$3 \"/\" \$2}')#[fg=color150,bg=default]#[bg=default] " if-shell 'command -v nvidia-smi' {