add idle inhibitor to waybar

This commit is contained in:
mjallen18
2025-07-01 08:28:51 -05:00
parent 9f2b10f47c
commit 42db510b8f
4 changed files with 36 additions and 8 deletions

View File

@@ -57,6 +57,7 @@ in
"wireplumber#sink"
"wireplumber#source"
"bluetooth"
"idle_inhibitor"
"clock"
"custom/weather"
];
@@ -203,6 +204,14 @@ in
tooltip-format-enumerate-connected = { };
};
idle_inhibitor = {
format = "{icon}";
format-icons = {
activated = "󰐂";
deactivated = "󱩜";
};
};
clock = {
format = "{:%I:%M %p}";
tooltip-format = "<tt><small>{calendar}</small></tt>";
@@ -312,11 +321,19 @@ in
/* ------------- */
#idle_inhibitor {
color: ${settings.nord.frost.nord10};
background-color: ${settings.nord.polarNight.nord0};
${defaultOpacity}
${borderRight}
}
#bluetooth {
color: ${settings.nord.frost.nord9};
background-color: ${settings.nord.polarNight.nord0};
${defaultOpacity}
${borderRight}
${defaultCenterOptions}
border-radius: 0;
}
#wireplumber.source {