New backup 2025-03-04 00:15:02

This commit is contained in:
Penelope Gwen 2025-03-04 00:15:02 -08:00
parent d0ecf453a8
commit fea3cccc20
4 changed files with 6 additions and 6 deletions

View file

@ -71,7 +71,7 @@ label {
transition-duration: .25s;
}
.workspaces .focused,
.active {
button.active {
background-color: $color1;
}
.workspaces button:first-child {

View file

@ -42,7 +42,7 @@
""))
(defpoll inhibit_active :initial false
:interval "5s"
:interval "1s"
"scripts/inhibit-status")
(defwidget idleinhibit []

View file

@ -1,3 +1,3 @@
#!/bin/bash
systemd-inhibit sleep infinity
systemd-inhibit --what="idle" sleep infinity

View file

@ -1,8 +1,8 @@
#!/bin/bash
inhibit_active=false
if pgrep eww-idle-inhibi;then
inhibit_active=true
inhibit_active='false'
if ps aux | grep eww-idle-inhibit | grep -qv grep;then
inhibit_active='true'
fi
printf '%s' "${inhibit_active}"