We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c0c21d commit b5a9358Copy full SHA for b5a9358
scripts/online_status_icon.sh
@@ -15,10 +15,9 @@ online_status() {
15
}
16
17
print_icon() {
18
- local status=$(online_status)
19
# spacer fixes weird emoji spacing
20
local spacer=" "
21
- if $status; then
+ if $(online_status); then
22
printf "$(get_tmux_option "$online_option_string" "$online_icon_default")$spacer"
23
else
24
printf "$(get_tmux_option "$offline_option_string" "$offline_icon_default")$spacer"
0 commit comments