Skip to content

Commit b5a9358

Browse files
author
Bruno Sutic
committed
Bugfix: online icon wasnt displaying properly
1 parent 0c0c21d commit b5a9358

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/online_status_icon.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ online_status() {
1515
}
1616

1717
print_icon() {
18-
local status=$(online_status)
1918
# spacer fixes weird emoji spacing
2019
local spacer=" "
21-
if $status; then
20+
if $(online_status); then
2221
printf "$(get_tmux_option "$online_option_string" "$online_icon_default")$spacer"
2322
else
2423
printf "$(get_tmux_option "$offline_option_string" "$offline_icon_default")$spacer"

0 commit comments

Comments
 (0)