feat: Adds idle-inhibitor to waybar.

This commit is contained in:
2025-11-16 18:06:58 -05:00
parent 9977a8806b
commit 8daa596205
2 changed files with 17 additions and 1 deletions

View File

@@ -6,6 +6,7 @@
"modules-center": ["clock"],
"modules-right": [
"pulseaudio",
"idle_inhibitor",
"tray",
"cpu",
"memory",
@@ -75,5 +76,13 @@
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""],
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
},
}
}
}

View File

@@ -54,7 +54,8 @@
#cpu,
#memory,
#custom-lock,
#custom-power {
#custom-power,
#idle_inhibitor {
background-color: @background;
padding: 0.5rem 1rem;
margin: 5px 0;
@@ -69,12 +70,18 @@
font-weight: 900;
}
#pulseaudio {
color: @red;
border-radius: 10px 0px 0px 10px;
margin-left: 1rem;
}
#idle_inhibitor {
border-radius: 0px;
margin: 0px;
}
#tray {
color: @blue;
border-radius: 0px 10px 10px 0px;