Skip to content

feat: add blur_lockscreen option to apply blur to lock surfaces#891

Open
StaszeKrk wants to merge 1 commit into
mangowm:mainfrom
StaszeKrk:feat/lockscreen-blur
Open

feat: add blur_lockscreen option to apply blur to lock surfaces#891
StaszeKrk wants to merge 1 commit into
mangowm:mainfrom
StaszeKrk:feat/lockscreen-blur

Conversation

@StaszeKrk
Copy link
Copy Markdown

Adds a new blur_lockscreen config option (default: 1) that, when
enabled alongside the existing blur option, applies scenefx blur
to wlr-session-lock surfaces on each commit.

Implementation adds:

  • commit_lock_surface listener and lock_scene_tree pointer to
    the Monitor struct
  • commitlocksurface handler that calls iter_layer_scene_buffers
    on the lock scene tree
  • Cleanup of both fields in destroylocksurface

Adds a new `blur_lockscreen` config option (default: 1) that, when
enabled alongside the existing `blur` option, applies scenefx blur
to wlr-session-lock surfaces on each commit.

Implementation adds:
- `commit_lock_surface` listener and `lock_scene_tree` pointer to
  the Monitor struct
- `commitlocksurface` handler that calls iter_layer_scene_buffers
  on the lock scene tree
- Cleanup of both fields in destroylocksurface
@DreamMaoMao
Copy link
Copy Markdown
Collaborator

I'm not inclined to do this because mainstream lock screen software itself supports blurring

@StaszeKrk
Copy link
Copy Markdown
Author

From my experience the blur doesn't work for transparent lock screen, only if the bg is a wallpaper.

@StaszeKrk
Copy link
Copy Markdown
Author

But maybe I'm just stupid and can't set it up

@DreamMaoMao DreamMaoMao force-pushed the main branch 3 times, most recently from c009ba2 to f328c27 Compare May 20, 2026 05:07
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