Skip to content

Add startup visibility, cap grid columns, and harden overlay input - #10

Merged
nnthnn merged 5 commits into
mainfrom
feat/clear-todo-and-ideas-backlog
Nov 12, 2026
Merged

nnthnn merged 5 commits into
mainfrom
feat/clear-todo-and-ideas-backlog

Conversation

@nnthnn

@nnthnn nnthnn commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

Clears several TODO/IDEAS backlog items and hardens overlay state, Hyprland IPC, and keyboard input.

Changes

  • Add behavior.show_on_startup so a directly bound launch can open the overlay without a separate --toggle.
  • Treat appearance.columns as a maximum instead of a fixed width, and share the automatic grid calculation through layout::workspace_grid_cols.
  • Rework mouse actions: right-click closes the window under the cursor, and Shift+left-click moves the active window.
  • Clear filter_match when hiding so a previous filter match cannot be focused or closed after reopening.
  • Add read/write timeouts to Hyprland dispatch and repaint on Configure events while the overlay is visible.
  • Ignore key actions while Ctrl, Alt, or Super is held; Shift still drives reverse Tab cycling.
  • Convert README images and repo links to absolute GitHub URLs so the crates.io render works.
  • Record XPM icon support and remaining review follow-ups in TODO.md.

Testing

  • just check — formatting, clippy with -D warnings, and 106 unit tests pass.
  • git diff --check — no whitespace errors.
  • No live Hyprland/Sway pass was run.

- Add behavior.show_on_startup so a directly bound launch can open the overlay without a separate --toggle.
- Treat appearance.columns as a maximum instead of a fixed width, keeping the automatic square layout for small workspace counts.
- Make right-click close the hovered window and Shift+left-click move the active window, replacing the old ambiguous right-click move.
- Use absolute GitHub URLs in the README so images and links work on crates.io, and drop the completed TODO entry.
freedesktop-icons never returns .xpm paths (it probes .png/.svg/.xmp), so the task needs a lookup fallback as well as a decoder.
- Clear filter_match when hiding, so a filter match from the previous overlay session can't be focused or closed after reopening.
- Bound Hyprland dispatch socket reads and writes with the same timeout as JSON queries, keeping a wedged compositor from blocking the single-threaded loop.
- Request a repaint when a Configure event arrives while the overlay is already visible, so output resizes redraw the grid.
Track the keyboard modifier mask from wl_keyboard and drop key events while Ctrl, Alt, or Super is down. Without this, a compositor shortcut that leaves a modifier held could make Ctrl+M move the active window or Ctrl+Delete close a window. Shift stays active because Tab cycling depends on it, and the mask is cleared when the overlay hides.
Cover the lock-file hardening, shared card geometry, thumbnail format conversion, help text, and filter-bar font items that were not part of this pass.
@nnthnn
nnthnn merged commit 1a0f2dc into main Nov 12, 2026
3 checks passed
@nnthnn
nnthnn deleted the feat/clear-todo-and-ideas-backlog branch November 12, 2026 17:59
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