no battery information shown for desktop pcs

This commit is contained in:
esche 2023-09-24 21:49:32 +02:00
parent 7aca22798e
commit 5ffac044ba

View file

@ -29,4 +29,5 @@ battery=$(
output="" output=""
if [[ $is_wayland != "" ]]; then output="$is_wayland | "; fi if [[ $is_wayland != "" ]]; then output="$is_wayland | "; fi
echo $output $battery "|" $audio_volume $audio_muted "|" $date_formatted if [[ $battery != "" ]]; then ouptut="$output$battery | "; fi
echo $output $audio_volume $audio_muted "|" $date_formatted