feat(tray): handle Status property

On the `Passive` value of `Status` tray items would be hidden unless
`show-passive-items` is set to true.
On the `NeedsAttention` value of `Status` tray items will have a
`.needs-attention` CSS class.
This commit is contained in:
Aleksei Bavshin
2021-07-02 19:44:10 -07:00
parent 245f7f4b11
commit a5fe6f40b8
4 changed files with 42 additions and 3 deletions

View File

@ -195,6 +195,15 @@ label:focus {
background-color: #2980b9;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: #eb4d4b;
}
#idle_inhibitor {
background-color: #2d3436;
}