Browse Source

Added lock indicator

sisyphus
JezerM 4 years ago
parent
commit
9ad2f501d5
No known key found for this signature in database
GPG Key ID: 66BBC5D01388C6B5
  1. 6
      themes/gruvbox/css/style.css
  2. 3
      themes/gruvbox/index.html
  3. 4
      themes/gruvbox/js/index.js

6
themes/gruvbox/css/style.css vendored

@ -77,7 +77,6 @@ body {
.info {
position: absolute;
bottom: 0;
margin: 10px;
font-size: 2em;
padding: 8px;
@ -248,6 +247,11 @@ input:focus, input:focus-visible {
bottom: 0;
left: 0;
}
#lock-label {
top: 0;
left: 0;
font-weight: bold;
}
.label-bar {
position: absolute;

3
themes/gruvbox/index.html vendored

@ -64,6 +64,9 @@
</div>
<div id="session-label" class="info">
</div>
<div id="lock-label" class="info hide">
Lock
</div>
<div id="system-status" class="label-bar">
<div id="brightness-label"></div>

4
themes/gruvbox/js/index.js vendored

@ -40,6 +40,10 @@ async function initGreeter() {
brightness = new Brightness()
var lock = lightdm.lock_hint
if (lock) {
document.querySelector("#lock-label").classList.remove("hide")
}
}
const notGreeter = false

Loading…
Cancel
Save