waybar: Add keepawake module
Shows if the pc will not automatically turn off screen or suspend. Figures this out by checking for `swayidle` process, so that is required. Turns on suspend again on click, and uses voidlinux `sv` user service for it, so those have to be set up.
This commit is contained in:
parent
7447cb3354
commit
03f85fd958
3 changed files with 28 additions and 1 deletions
|
|
@ -18,6 +18,10 @@ window#waybar.hidden {
|
|||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#tags button {
|
||||
font-size:17px;
|
||||
font-weight:900;
|
||||
|
|
@ -70,6 +74,7 @@ window#waybar.hidden {
|
|||
#custom-wireguard,
|
||||
#custom-events,
|
||||
#custom-vidl,
|
||||
#custom-keepawake,
|
||||
#custom-media {
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue