Add Idle Inhibitor
This commit is contained in:
@@ -339,5 +339,14 @@
|
||||
"format": "{user}",
|
||||
"interval": 60,
|
||||
"icon": false,
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip": false,
|
||||
"format-icons":{
|
||||
"activated": "Auto lock OFF",
|
||||
"deactivated": "ON"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
"group/hardware",
|
||||
"group/settings",
|
||||
"custom/cliphist",
|
||||
"idle_inhibitor",
|
||||
"custom/exit",
|
||||
"clock"
|
||||
]
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"network",
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
"idle_inhibitor",
|
||||
"custom/exit",
|
||||
"clock"
|
||||
]
|
||||
|
||||
@@ -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
|
||||
* ----------------------------------------------------- */
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"network",
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
"idle_inhibitor",
|
||||
"custom/exit",
|
||||
"clock"
|
||||
]
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"network",
|
||||
"group/hardware",
|
||||
"custom/cliphist",
|
||||
"idle_inhibitor",
|
||||
"custom/exit",
|
||||
"clock"
|
||||
]
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user