AC/battery-aware power management for Omarchy: suspend after idle on battery only, and stay on with the lid closed when plugged in. A shell plugin plus a logind drop-in, configured with a TUI.
-
Updated
Oct 26, 2026 - Python
AC/battery-aware power management for Omarchy: suspend after idle on battery only, and stay on with the lid closed when plugged in. A shell plugin plus a logind drop-in, configured with a TUI.
GNOME Shell extension: keep awake, lid close, screen off, lock, sleep and hibernate in one top-bar menu
Linux 笔记本电源控制台(C/ncursesw TUI):电源档位/挂起/合盖不休眠/自动息屏/充电阈值/LTE。合盖用低层 inhibitor handle-lid-switch,免 root 不改 logind。
The script is designed to toggle the configuration of Lid Switch between suspend and lock, and vice versa on linux.
To associate your repository with the lid-switch topic, visit your repo's landing page and select "manage topics."