feat: add idle inhibitor

This commit is contained in:
DACHXY 2025-01-19 14:35:36 +08:00
parent eb37fde888
commit 2fd7367176
6 changed files with 15 additions and 15 deletions

View file

@ -26,6 +26,7 @@
"modules-right": [
"wlr/taskbar",
"idle_inhibitor",
"network",
"cpu",
"memory",
@ -89,6 +90,7 @@
"modules-right": [
"wlr/taskbar",
"temperature",
"idle_inhibitor",
"network",
"pulseaudio",
"battery",

View file

@ -189,5 +189,13 @@
"max-length": 50,
"interval": 5,
"on-click": "~/.config/scripts/rofiWifi.sh"
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "󰅶",
"deactivated": "󰾫"
}
}
}

View file

@ -40,6 +40,7 @@ tooltip label {
color: @main;
}
#idle_inhibitor,
#custom-cava,
#clock,
#cpu,
@ -70,6 +71,7 @@ tooltip label {
margin-right: 4px;
}
#idle_inhibitor,
#custom-swaync,
#pulseaudio,
#cpu,