Stay Awake: filled red coffee cup when active, empty cup at rest
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
if pgrep -x hypridle >/dev/null; then
|
if pgrep -x hypridle >/dev/null; then
|
||||||
pkill -x hypridle
|
pkill -x hypridle
|
||||||
omarchy-notification-send -g "" "Staying awake" "Idle behavior disabled"
|
omarchy-notification-send -g "" "Staying awake" "Idle behavior disabled"
|
||||||
else
|
else
|
||||||
uwsm-app -- hypridle >/dev/null 2>&1 &
|
uwsm-app -- hypridle >/dev/null 2>&1 &
|
||||||
omarchy-notification-send -g "" "Idle behavior on" "System can now sleep / lock on idle"
|
omarchy-notification-send -g "" "Idle behavior on" "System can now sleep / lock on idle"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Item {
|
|||||||
|
|
||||||
property bool active: false
|
property bool active: false
|
||||||
|
|
||||||
readonly property string icon: active ? "" : ""
|
readonly property string icon: active ? "" : ""
|
||||||
|
|
||||||
function refresh() {
|
function refresh() {
|
||||||
if (!statusProc.running) statusProc.running = true
|
if (!statusProc.running) statusProc.running = true
|
||||||
|
|||||||
Reference in New Issue
Block a user