diff --git a/home/gabriel/features/desktop/common/wayland-wm/waybar.nix b/home/gabriel/features/desktop/common/wayland-wm/waybar.nix index 44f97666..bb9ea204 100644 --- a/home/gabriel/features/desktop/common/wayland-wm/waybar.nix +++ b/home/gabriel/features/desktop/common/wayland-wm/waybar.nix @@ -91,6 +91,7 @@ in { "custom/unread-mail" "custom/next-event" "network" + "custom/rfkill" "battery" "pulseaudio" "clock" @@ -365,11 +366,12 @@ in { "restart-interval" = 5; }; "custom/rfkill" = { - interval = 1; + interval = 3; exec-if = mkScript { deps = [pkgs.util-linux]; - script = "rfkill | grep '\'"; + script = "rfkill list wifi | grep yes -q"; }; + exec = "echo 󰀝"; }; }; };