Add Idle Inhibitor

This commit is contained in:
Stephan Raabe
2023-12-14 18:24:40 +01:00
parent 68b7e7e623
commit 201bedcc26
14 changed files with 81 additions and 7 deletions

View File

@@ -52,6 +52,7 @@
"group/hardware",
"group/settings",
"custom/cliphist",
"idle_inhibitor",
"custom/exit",
"clock"
]

View File

@@ -54,6 +54,7 @@
"network",
"group/hardware",
"custom/cliphist",
"idle_inhibitor",
"custom/exit",
"clock"
]

View File

@@ -175,6 +175,28 @@ window#waybar.empty #window {
margin-right:15px;
}
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
#idle_inhibitor {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
background-color: #dc2f2f;
font-size: 16px;
color: #FFFFFF;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 8px 15px 8px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Custom Modules
* ----------------------------------------------------- */

View File

@@ -54,6 +54,7 @@
"network",
"group/hardware",
"custom/cliphist",
"idle_inhibitor",
"custom/exit",
"clock"
]

View File

@@ -54,6 +54,7 @@
"network",
"group/hardware",
"custom/cliphist",
"idle_inhibitor",
"custom/exit",
"clock"
]

View File

@@ -176,6 +176,27 @@ window#waybar.empty #window {
margin-right:15px;
}
/* -----------------------------------------------------
* Idle Inhibator
* ----------------------------------------------------- */
#idle_inhibitor {
margin-right: 15px;
font-size: 16px;
font-weight: bold;
opacity: 0.8;
color: @iconcolor;
}
#idle_inhibitor.activated {
background-color: #dc2f2f;
font-size: 16px;
color:#ffffff;
border-radius: 15px;
padding: 2px 10px 0px 10px;
margin: 5px 15px 5px 0px;
opacity:0.8;
}
/* -----------------------------------------------------
* Custom Modules
@@ -196,7 +217,7 @@ window#waybar.empty #window {
* Custom Exit
* ----------------------------------------------------- */
#custom-exit, #custom-exitwlr {
#custom-exit {
margin: 0px 20px 0px 0px;
padding:0px;
font-size:20px;