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;
|
transition-duration: .25s;
|
||||||
}
|
}
|
||||||
.workspaces .focused,
|
.workspaces .focused,
|
||||||
.active {
|
button.active {
|
||||||
background-color: $color1;
|
background-color: $color1;
|
||||||
}
|
}
|
||||||
.workspaces button:first-child {
|
.workspaces button:first-child {
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
""))
|
""))
|
||||||
|
|
||||||
(defpoll inhibit_active :initial false
|
(defpoll inhibit_active :initial false
|
||||||
:interval "5s"
|
:interval "1s"
|
||||||
"scripts/inhibit-status")
|
"scripts/inhibit-status")
|
||||||
|
|
||||||
(defwidget idleinhibit []
|
(defwidget idleinhibit []
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
systemd-inhibit sleep infinity
|
systemd-inhibit --what="idle" sleep infinity
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
inhibit_active=false
|
inhibit_active='false'
|
||||||
if pgrep eww-idle-inhibi;then
|
if ps aux | grep eww-idle-inhibit | grep -qv grep;then
|
||||||
inhibit_active=true
|
inhibit_active='true'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf '%s' "${inhibit_active}"
|
printf '%s' "${inhibit_active}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue