Add idle inhibitor to waybar
This commit is contained in:
parent
c1879671fc
commit
cdbfa56130
|
@ -45,6 +45,7 @@
|
|||
++ [
|
||||
"pulseaudio"
|
||||
"battery"
|
||||
"idle_inhibitor"
|
||||
"network"
|
||||
"custom/notification"
|
||||
"clock"
|
||||
|
@ -147,6 +148,16 @@
|
|||
tooltip = true;
|
||||
tooltip-format = "{time}";
|
||||
};
|
||||
|
||||
idle_inhibitor = {
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
activated = " ";
|
||||
deactivated = " ";
|
||||
};
|
||||
timeout = 30;
|
||||
};
|
||||
|
||||
"custom/launcher" = {
|
||||
format = "";
|
||||
on-click = "pkill fuzzel || fuzzel";
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
}
|
||||
|
||||
#tray, #pulseaudio, #network, #cpu, #memory, #disk,
|
||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.forward, #battery, #custom-notification {
|
||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.forward, #battery, #idle_inhibitor, #custom-notification {
|
||||
background: #${custom.palette.tertiary_background_hex};
|
||||
font-weight: bold;
|
||||
margin: 5px 0px;
|
||||
|
@ -108,6 +108,13 @@
|
|||
padding-right: 9px;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
color: #${custom.tertiary_accent};
|
||||
border-radius: 0;
|
||||
padding-left: 9px;
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
#network {
|
||||
color: #${custom.tertiary_accent};
|
||||
border-radius: 0;
|
||||
|
|
Loading…
Reference in a new issue