Add idle inhibitor

This commit is contained in:
pancakes 2024-03-30 22:22:22 +10:00
parent be9e793ef0
commit 747cde3573
2 changed files with 12 additions and 0 deletions

View file

@ -9,6 +9,7 @@
"modules-right": [ "modules-right": [
"custom/micmute", "custom/micmute",
"gamemode", "gamemode",
"idle_inhibitor",
"network", "network",
"bluetooth", "bluetooth",
"wireplumber", "wireplumber",
@ -25,6 +26,13 @@
"exec": "~/.config/waybar/scripts/micmute.sh", "exec": "~/.config/waybar/scripts/micmute.sh",
"interval": 2 "interval": 2
}, },
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"clock": { "clock": {
"tooltip-format": "{:%Y-%m-%d}", "tooltip-format": "{:%Y-%m-%d}",
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"

View file

@ -102,6 +102,10 @@ label:focus {
border: 2px solid #414868; border: 2px solid #414868;
} }
#idle_inhibitor.activated {
box-shadow: inset 0 -2px #e0af68;
}
#backlight {} #backlight {}
#network {} #network {}