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

This commit is contained in:
Penelope Gwen 2025-03-04 12:15:02 -08:00
parent c740cca886
commit 16613f0f71
2 changed files with 2 additions and 2 deletions

View file

@ -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 ? "" : ""}))

View file

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