From 70f6dc40af01298ec4ec41cb1ce78e575261d352 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 18 Dec 2024 05:37:44 +0300 Subject: [PATCH] Networkwidget: Show bt warning from 20% inclusive. --- package/swayscript/script/NetworkWidget.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/swayscript/script/NetworkWidget.nix b/package/swayscript/script/NetworkWidget.nix index f1949ea8..7fdccf69 100644 --- a/package/swayscript/script/NetworkWidget.nix +++ b/package/swayscript/script/NetworkWidget.nix @@ -30,7 +30,7 @@ if [[ "''${_bts}" != "" ]]; then icon="󱛃" - if [[ "''${_bt_lowest}" != "" ]] && [[ ''${_bt_lowest} -lt 20 ]]; then + if [[ "''${_bt_lowest}" != "" ]] && [[ ''${_bt_lowest} -lt 21 ]]; then class="btlow" fi fi