mirror of
https://github.com/Misterio77/Foundry.git
synced 2026-09-24 23:30:40 -05:00
feat(waybar): rfkill
This commit is contained in:
@@ -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 '\<blocked\>'";
|
||||
script = "rfkill list wifi | grep yes -q";
|
||||
};
|
||||
exec = "echo ";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user