Skip to content

niri: create screenshot directory lazily - #3286

Merged
bbedward merged 1 commit into
duxlabs-dev:masterfrom
li-yuanfei:fix/niri-lazy-screenshot-directory
Sep 4, 2026
Merged

bbedward merged 1 commit into
duxlabs-dev:masterfrom
li-yuanfei:fix/niri-lazy-screenshot-directory

Conversation

@li-yuanfei

Copy link
Copy Markdown
Contributor

Closes #3281

Remove the eager creation of the Niri screenshots directory during service startup.

The screenshot, screenshotScreen, and screenshotWindow functions already create the directory immediately before saving, so screenshot behavior remains unchanged while unused directories are no longer recreated on every DMS start.

@bbedward
bbedward merged commit cbe572e into duxlabs-dev:master Sep 4, 2026
1 check passed
dank-shell-app Bot pushed a commit that referenced this pull request Sep 4, 2026
port 1.6

(cherry picked from commit cbe572e)
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.

niri: create the Screenshots directory lazily instead of in Component.onCompleted

2 participants