mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -05:00
home/waybar: improve idle inhibitor
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
2897196e4a
commit
b8f8be3d5f
|
@ -111,13 +111,23 @@
|
|||
Draw: {power} watts.'';
|
||||
};
|
||||
|
||||
"inhibitor" = {
|
||||
"what" = "sleep";
|
||||
"idle_inhibitor" = {
|
||||
"format" = "{icon}";
|
||||
|
||||
"format-icons" = {
|
||||
"activated" = "";
|
||||
"deactivated" = "";
|
||||
};
|
||||
|
||||
"timeout" = 45;
|
||||
|
||||
"tooltip-format-activated" = ''
|
||||
Sleep inhibited.
|
||||
System will not sleep.'';
|
||||
|
||||
"tooltip-format-deactivated" = ''
|
||||
Sleep uninhibited.
|
||||
System will sleep normally.'';
|
||||
};
|
||||
|
||||
"bluetooth" = {
|
||||
|
@ -193,7 +203,7 @@
|
|||
|
||||
"group/hardware" = {
|
||||
"orientation" = "horizontal";
|
||||
modules = ["pulseaudio" "bluetooth" "network" "power-profiles-daemon" "battery" "inhibitor" "custom/logout"];
|
||||
modules = ["pulseaudio" "bluetooth" "network" "power-profiles-daemon" "battery" "idle_inhibitor" "custom/logout"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -248,7 +258,7 @@
|
|||
#power-profiles-daemon,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#inhibitor,
|
||||
#idle_inhibitor,
|
||||
#custom-logout,
|
||||
#custom-menu,
|
||||
#custom-sway-close,
|
||||
|
|
Loading…
Reference in a new issue