fix(ideapad-conservation-mode): use bind action in udev rule instead of add|change to avoid boot race (#61)

This commit is contained in:
notiant
2026-07-20 21:08:00 -04:00
committed by GitHub
parent fa7dd13f8a
commit 16fec532ad
4 changed files with 5 additions and 6 deletions
@@ -62,7 +62,7 @@ local function readState()
end
local function render(on, enabled)
shortcut.setLabel(noctalia.tr(if on then "shortcut.on" else "shortcut.off"))
shortcut.setLabel(noctalia.tr("shortcut.label"))
shortcut.setIcon("battery-charging", "battery")
shortcut.setActive(on)
shortcut.setEnabled(enabled)