Skip to content

feat: add lockscreen toggle to support screensaver-only mode#6015

Open
SilvM wants to merge 1 commit into
basecamp:devfrom
SilvM:feat/lockscreen-toggle-v2
Open

feat: add lockscreen toggle to support screensaver-only mode#6015
SilvM wants to merge 1 commit into
basecamp:devfrom
SilvM:feat/lockscreen-toggle-v2

Conversation

@SilvM
Copy link
Copy Markdown

@SilvM SilvM commented Jun 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings June 1, 2026 09:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a dedicated “Lockscreen” toggle and updates idle-lock behavior/indicators to respect a transient lockscreen-off state, including resetting it on startup.

Changes:

  • Update Waybar idle indicator to reflect hypridle/lockscreen toggle states.
  • Add a new omarchy-toggle-lockscreen command and expose it in the toggle menu.
  • Make hypridle’s lock action conditional on lockscreen-off, and reset that toggle at startup.

Reviewed changes

Copilot reviewed 3 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
default/waybar/indicators/idle.sh Adjusts icon/tooltip output based on hypridle running state and lockscreen-off.
default/hypr/autostart.lua Clears the lockscreen-off toggle state on session start.
config/hypr/hypridle.conf Skips system lock on timeout when lockscreen-off is enabled.
bin/omarchy-toggle-lockscreen Introduces a new toggle command for lockscreen availability + Waybar refresh.
bin/omarchy-toggle-idle Updates idle toggle logic to interact with lockscreen-off.
bin/omarchy-menu Adds “Lockscreen” entry to the toggle menu and wires it to the new command.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

o.exec_on_start("sleep 2 && omarchy-hook post-boot")

-- Reset transient toggles on startup.
o.exec_on_start("rm -f ~/.local/state/omarchy/toggles/lockscreen-off")
Comment thread config/hypr/hypridle.conf
Comment on lines 14 to +17
# Lock system after 5 minutes (screensaver resets idle timer, so have to just do half + 2s margin)
listener {
timeout = 152
on-timeout = omarchy-system-lock
on-timeout = omarchy-toggle-enabled lockscreen-off || omarchy-system-lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants