HIde overflow f=if no overflow

This commit is contained in:
2026-02-27 22:08:09 +01:00
parent 44f3aac07c
commit 7234973f01
@@ -122,6 +122,10 @@ cls="ok"
if (( overflow > 0 )) && [[ "$layout" == "scrolling" ]]; then
text="$ICON +$overflow"
cls="overflow"
elif (( overflow == 0 )) || [[ "$layout" != "scrolling" ]]; then
# Tell Waybar to hide the module
printf '{"text":""}\n'
exit 0
fi
tooltip="WS ${focused_ws_id}${win_count} window(s)\n"