New backup 2025-03-04 12:15:02
This commit is contained in:
parent
c740cca886
commit
16613f0f71
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@
|
|||
"scripts/inhibit-status")
|
||||
|
||||
(defwidget idleinhibit []
|
||||
(button :onclick {inhibit_active ? 'killall eww-idle-inhibit' : 'scripts/eww-idle-inhibit'}
|
||||
(button :onclick {inhibit_active ? 'killall eww-idle-inhibit' : 'systemd-inhibit --what="idle" scripts/eww-idle-inhibit'}
|
||||
:class {inhibit_active ? "active" : ""}
|
||||
{inhibit_active ? "" : ""}))
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
systemd-inhibit --what="idle" sleep infinity
|
||||
sleep infinity
|
||||
|
|
Loading…
Add table
Reference in a new issue