diff --git a/segments/battery.sh b/segments/battery.sh index 9fbfa7d7..fb67f025 100755 --- a/segments/battery.sh +++ b/segments/battery.sh @@ -2,8 +2,11 @@ # LICENSE This code is not under the same license as the rest of the project as it's "stolen". It's cloned from https://github.com/richoH/dotfiles/blob/master/bin/battery and just some modifications are done so it works for my laptop. Check that URL for more recent versions. TMUX_POWERLINE_SEG_BATTERY_TYPE_DEFAULT="percentage" -TMUX_POWERLINE_SEG_BATTERY_NUM_BATTERIES_DEFAULT=5 +TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS_DEFAULT=5 + +HEART_FULL="♥" +HEART_EMPTY="♡" BATTERY_FULL="󱊣" BATTERY_MED="󱊢" BATTERY_EMPTY="󱊡" @@ -12,10 +15,10 @@ ADAPTER="󰚥" generate_segmentrc() { read -r -d '' rccontents <