Skip to content

Top bar, Reset Glide, settings search, and monitor plug-in fix - #29

Merged
jsanzdev merged 1 commit into
mainfrom
t3/display-reset-status-bar
Dec 3, 2026
Merged

jsanzdev merged 1 commit into
mainfrom
t3/display-reset-status-bar

Conversation

@jsanzdev

@jsanzdev jsanzdev commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Why

Plugging a laptop into a monitor left windows in the wrong place until Glide was restarted. Glide laid windows out once, right away, while Windows kept moving them for a few more seconds, and it trusted where it had last put them.

What

Monitor fix

  • On a display change, a work area change, a device change, or waking up, Glide lays windows out immediately, then again at 0.4, 1.5 and 4 s.
  • Each pass drops what Glide remembered about where it placed windows, and renamed monitors are matched by their bounds.

Reset Glide

  • Win+Ctrl+Shift+Backspace, the tray menu or Settings › Files restarts the keyboard hooks, the touchpad, the tray icon and the layout without quitting.

Top bar (Win+Ctrl+B, or the new Settings › Top bar page)

  • One bar per monitor. Columns tile beside it.
  • Left side: workspaces (empty ones greyed out, optionally hidden), a map of the columns, window icons and the layout. Middle: the app in front.
  • Right side, if picked: now playing, Claude usage, CPU, memory, GPU, disk, network, volume, battery and clock.
    • Stats use Segoe Fluent Icons with fixed-width slots, so they don't shift around.
    • Hovering shows more: the top 3 apps by CPU or memory, or a Claude card with each limit, its reset countdown and today's activity.
    • Clicking opens Task Manager, the matching Settings page or the calendar (Win+N).
  • Choices: which items, their order (up/down arrows), position, size (S/M/L), which monitors (all / main / others), theme and translucency.
  • The bar hides while the app in front covers its monitor. The space stays reserved, so nothing moves.

Claude usage

  • Plan limits come from the endpoint Claude Code's /usage calls, using Claude Code's saved sign-in.
    • The token is sent only to Anthropic, at most every 5 minutes, and is never renewed.
    • That endpoint isn't documented. If it changes, the bar falls back to today's tokens.
  • Today's tokens, sessions and models are read from Claude Code's local logs, only the parts that are new since the last read. The logs never leave the PC.

Settings search

  • A search box that looks through every page, ignoring case and accents.
  • Fixed a redraw that could run inside another redraw and show items twice.

Changelog

  • 0.12.0 entry in English and all 7 translations.

Testing

  • Glide.Core.Tests: 349 passed. New tests cover top bar items and their order, usage counting, plan parsing, model names and the new shortcuts.
  • Live in a Windows 11 ARM VM:
    • The bar renders, at large size and with a custom order.
    • A borderless full-screen window hides the bar, and it comes back after.
    • Glide used about 1.3% of one core over 60 s with every live item on.
    • Claude plan usage reads fine on a Pro account.
    • Settings search works.
    • Display changes were simulated by changing the work area.
  • Not tested: a real external monitor. The VM can't add one, so this still needs a check on hardware.

🤖 Generated with Claude Code

- Monitor plugged in or out, taskbar moved, or PC woken: lay windows out
  again as Windows settles (now, then at 0.4, 1.5 and 4 s), trusting
  where windows actually are rather than where Glide last put them.
- Reset Glide (Win+Ctrl+Shift+Backspace, tray menu, Settings): restarts
  the hooks, tray icon and layout without quitting.
- A bar on each monitor (Win+Ctrl+B): workspaces, column map, window
  icons, layout, app in front, and live items (now playing, Claude plan
  usage, CPU, memory, GPU, disk, network, volume, battery, clock) with
  Windows' own icons, fixed widths, hover cards and click actions.
  Items, order, position, size, colors, monitors and translucency are
  set in a new Top bar page. It steps aside for full-screen apps.
- Claude usage reads the plan's limits with Claude Code's sign-in (sent
  only to Anthropic, never renewed) and today's tokens from its logs.
- Settings search across every page.
- Changelog for 0.12.0 in every language.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jsanzdev
jsanzdev merged commit 04441ff into main Dec 3, 2026
5 checks passed
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