From fc2b3ba0f44234fadb8b831d017773ee78ddd7a8 Mon Sep 17 00:00:00 2001 From: Riley Apeldoorn Date: Tue, 13 Jun 2023 16:28:56 +0200 Subject: [PATCH] Fix bluetooth showing up in bar on bluetooth-incapable devices --- shared/home/gui/waybar.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/home/gui/waybar.nix b/shared/home/gui/waybar.nix index bef1f17..f58fd0e 100644 --- a/shared/home/gui/waybar.nix +++ b/shared/home/gui/waybar.nix @@ -46,7 +46,7 @@ in { "cpu" "disk" (optional (cfg.battery.name != "") "battery") - (optional (cfg.bluetooth.enable != "") "bluetooth") + (optional (cfg.bluetooth.enable) "bluetooth") (optional (cfg.network.wifi != "") "network#wifi") (optional (cfg.network.eth != "") "network#eth") (optional (cfg.network.vpn != "") "network#vpn")