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.'';
|
Draw: {power} watts.'';
|
||||||
};
|
};
|
||||||
|
|
||||||
"inhibitor" = {
|
"idle_inhibitor" = {
|
||||||
"what" = "sleep";
|
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
|
|
||||||
"format-icons" = {
|
"format-icons" = {
|
||||||
"activated" = "";
|
"activated" = "";
|
||||||
"deactivated" = "";
|
"deactivated" = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"timeout" = 45;
|
||||||
|
|
||||||
|
"tooltip-format-activated" = ''
|
||||||
|
Sleep inhibited.
|
||||||
|
System will not sleep.'';
|
||||||
|
|
||||||
|
"tooltip-format-deactivated" = ''
|
||||||
|
Sleep uninhibited.
|
||||||
|
System will sleep normally.'';
|
||||||
};
|
};
|
||||||
|
|
||||||
"bluetooth" = {
|
"bluetooth" = {
|
||||||
|
@ -193,7 +203,7 @@
|
||||||
|
|
||||||
"group/hardware" = {
|
"group/hardware" = {
|
||||||
"orientation" = "horizontal";
|
"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,
|
#power-profiles-daemon,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#wireplumber,
|
#wireplumber,
|
||||||
#inhibitor,
|
#idle_inhibitor,
|
||||||
#custom-logout,
|
#custom-logout,
|
||||||
#custom-menu,
|
#custom-menu,
|
||||||
#custom-sway-close,
|
#custom-sway-close,
|
||||||
|
|
Loading…
Reference in a new issue