tmux: remove battery from statusbar

This commit is contained in:
2024-04-25 21:12:22 +03:00
parent fc1de9345e
commit 280dd6247e
2 changed files with 1 additions and 7 deletions

View File

@@ -1,6 +0,0 @@
#! /bin/bash
capacity=$(cat /sys/class/power_supply/BAT0/capacity)
status=$(cat /sys/class/power_supply/BAT0/status)
echo "Battery: $capacity%"

View File

@@ -10,7 +10,7 @@ set -g set-clipboard on
# statusline
set -g status-left "[#S] "
set -g status-right "[#($HOME/dotfiles/bin/tmux_battery.sh)] \"#H\" %H:%M %d/%m/%Y"
set -g status-right "\"#H\" %H:%M %d/%m/%Y"
set -g status-right-length 50
set -ag status-style "bg=#d4be98"