Expose idle.screensaver / idle.lock timings in the CLI and menu #9403
RyanRusnak
started this conversation in
Suggestions
Replies: 1 comment
|
I thought there needed to be a more intuitive way to get to the screensaver and lock values so I asked Claude to add an option for the shell config. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
idle.screensaverandidle.lockin~/.config/omarchy/shell.jsonare the only way to change when the screensaver and lock fire. There is noomarchycommand for them and no menu row, so the two numbers a new user is most likely to want to change are a hand-edit of a JSON file they have no path to discover.Where it stands today (4.0.2-1)
omarchy commands --allhas no idle or screensaver setter.omarchy toggle idleis stay-awake on/off only.default/omarchy/omarchy-menu.jsoncmentions the screensaver four times, all of them actions or branding —system.screensaver(force it now),trigger.toggle.screensaver,trigger.toggle.idle-lock(Stay Awake), andstyle.screensaver.{text,image,default}. None touch timing.idlehits are allbatteryFlowIdle).shell/README.md, item 7 "Idle timings are top-level", which is the plugin-authoring guide, next to "version: 1is required".The asymmetry
barsits four lines belowidlein the sameshell.jsonand got both surfaces:omarchy bar position <...>,omarchy bar transparent <...>,omarchy bar set <id> <key> <value>idleis two integers and got neither — even thoughomarchy-shell-configalready exposes thesource_file/commithelpers that an idle setter would drop straight into.Proposal
Either half stands alone; the first is the discoverable one, the second is nearly free.
1. A CLI verb
Built on
omarchy-shell-configlike thebarcommands. Worth rejectingscreensaver >= lock, since that silently means the screensaver never appears.2. A
setup.config.shellmenu rowOne line, and it mirrors the existing
setup.config.hyprlandandsetup.config.hyprsunsetrows exactly. I run this locally through~/.config/omarchy/extensions/omarchy-menu.jsoncand it behaves as expected — the editor opens and the shell hot-reloads on save.Related
Happy to open a PR for either half if the shape is agreeable.
All reactions