New backup 2025-03-04 00:15:02
This commit is contained in:
parent
d0ecf453a8
commit
fea3cccc20
4 changed files with 6 additions and 6 deletions
|
@ -71,7 +71,7 @@ label {
|
|||
transition-duration: .25s;
|
||||
}
|
||||
.workspaces .focused,
|
||||
.active {
|
||||
button.active {
|
||||
background-color: $color1;
|
||||
}
|
||||
.workspaces button:first-child {
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
""))
|
||||
|
||||
(defpoll inhibit_active :initial false
|
||||
:interval "5s"
|
||||
:interval "1s"
|
||||
"scripts/inhibit-status")
|
||||
|
||||
(defwidget idleinhibit []
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemd-inhibit sleep infinity
|
||||
systemd-inhibit --what="idle" sleep infinity
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Add table
Reference in a new issue