diff --git a/.config/sway/status.sh b/.config/sway/status.sh index 94e85a3..c69ea9b 100644 --- a/.config/sway/status.sh +++ b/.config/sway/status.sh @@ -29,4 +29,5 @@ battery=$( output="" 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