Skip to content

feat: drag-and-drop widget reordering#10

Merged
bottlebrushes merged 1 commit intomainfrom
bettercoderthanyou/drag-reorder-widgets
Feb 2, 2026
Merged

feat: drag-and-drop widget reordering#10
bottlebrushes merged 1 commit intomainfrom
bettercoderthanyou/drag-reorder-widgets

Conversation

@bottlebrushes
Copy link
Copy Markdown
Owner

Summary

  • Add drag-and-drop support so users can reorder widgets directly in the menu bar
  • New widget order automatically persists to ~/.barik-config.toml
  • Dragged widget dims to 50% opacity with smooth animation during reorder

Test plan

  • Drag a widget (e.g. battery) to a new position — confirm it animates into place
  • Check ~/.barik-config.toml — the displayed array should reflect the new order
  • Quit and relaunch — confirm the order persists
  • Click a widget after reordering — confirm popups still work
  • Edit config file externally — confirm changes are picked up

🤖 Generated with Claude Code

Allow users to drag widgets to reorganize their order directly in the
menu bar. The new order persists to ~/.barik-config.toml automatically.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@bottlebrushes bottlebrushes merged commit 7f715e7 into main Feb 2, 2026
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