diff --git a/ansible/roles/sway/files/waybar_available_memory_freebsd b/ansible/roles/sway/files/waybar_available_memory_freebsd index 482ac06..0e46085 100644 --- a/ansible/roles/sway/files/waybar_available_memory_freebsd +++ b/ansible/roles/sway/files/waybar_available_memory_freebsd @@ -15,7 +15,7 @@ while true; do free_percent=$((100 * free_pages / total_pages)) text="" - if [ $free_bytes > $((1024 * 1024 * 1024)) ]; then + if [ $free_bytes -ge $((1024 * 1024 * 1024)) ]; then text="$((free_bytes / 1024 / 1024 / 1024)) GiB" fi