Skip to content

fix: prevent duplicate wallpaper listeners - #9

Merged
SamuelIVX merged 3 commits into
mainfrom
fix/wallpaper-listener
Oct 13, 2026
Merged

SamuelIVX merged 3 commits into
mainfrom
fix/wallpaper-listener

Conversation

@SamuelIVX

@SamuelIVX SamuelIVX commented Oct 13, 2026 •

Copy link
Copy Markdown
Owner

Problem

Autostart and SUPER+A start permanent wallpaper listeners, so refreshes can accumulate duplicate listeners. Startup also assumes awww is ready.

Summary

Add a one-shot refresh mode and a per-session lock; validate dependencies, session socket, images, and bounded daemon readiness. Report compositor-query failures explicitly while keeping the listener alive. Preserve workspace mappings and visual settings. Add isolated shell regression checks and CI.

Tests

Local bash tests/run.sh and git diff --check passed. Duplicate-listener and one-shot regressions failed against the original script. CI passed regression tests and ShellCheck on the current head; local ShellCheck is unavailable. Live compositor verification blocked by sandbox socket permissions.

Risks and rollback

First of five stacked draft PRs. Live configuration has not been changed. Revert this PR to restore the previous listener behavior. Keep draft until CI and host-session checks are complete.

Co-authored-by: Codex noreply@openai.com

Separate one-shot refresh from session-owned listening and bound daemon startup. Add isolated regression checks and CI.

Co-authored-by: Codex <noreply@openai.com>
@coderabbitai

coderabbitai Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 06b4ef5a-8eb1-4875-b3e4-8c3213cd33ce
📥 Commits

Reviewing files that changed from the base of the PR and between c9c5f7e and d6583d2.

📒 Files selected for processing (6)
  • .config/hypr/conf/keybinds.conf
  • .config/hypr/scripts/wallpaper.sh
  • .github/workflows/checks.yml
  • README.md
  • tests/run.sh
  • tests/wallpaper.sh
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Explicitly reject failed compositor queries while preserving event listening. Add a failed-query regression case.

Co-authored-by: Codex <noreply@openai.com>
@SamuelIVX
SamuelIVX marked this pull request as ready for review October 13, 2026 03:26
* fix: make rofi pickers handle selections correctly

Preserve SSIDs and paths using indexed selections. Implement clipboard delete and confirmed clear, and keep cancellation side-effect free.

Co-authored-by: Codex <noreply@openai.com>

* fix: reserve clipboard deletion keys for picker actions

Remove Delete from Rofi text editing before assigning the clipboard action. Add a regression check for conflicting bindings.

Co-authored-by: Codex <noreply@openai.com>

* fix: make workstation tuning conservative and verifiable (#11)

Limit automatic tuning to backed-up file-watch configuration. Preserve higher limits, verify effective values, and restore on failure. Document optional system changes and rollback separately.

Co-authored-by: Codex <noreply@openai.com>

---------

Co-authored-by: Codex <noreply@openai.com>
@SamuelIVX
SamuelIVX merged commit 58d61ba into main Oct 13, 2026
3 checks passed
@SamuelIVX
SamuelIVX deleted the fix/wallpaper-listener branch October 13, 2026 03:29
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.

1 participant