Skip to content

Open or close a popup from the command line instead of only toggling it #304

Closed

Description

@M4n0x

Problem

--popup ID opens a widget's popup, or closes it when it's open (BarStore.swift:857-879). That suits a key binding. An automation that wants the popup open, such as showing the agenda when a meeting starts, closes it instead when it's already open, and can't tell which happened: the reply is the --query snapshot, which doesn't include the open popup. Nothing closes whatever popup is open, and a popup a script opened stays until the pointer or a click closes it.

eww (eww open, --toggle, --duration), ironbar (show_popup, hide_popup, toggle_popup) and SketchyBar (popup.drawing=on|off|toggle) keep these apart.

Proposal

  • --popup ID --open opens it and does nothing when it's already open. --popup ID --close closes it and does nothing when it's closed. --popup ID keeps toggling.
  • --popup --close without an ID closes any open popup.
  • --duration SECONDS with --open closes it after that time, unless the pointer is in it or it's pinned.
  • --query includes popup: the open popup's widget ID, or null.

Possible today

No. --popup ID only toggles.

Related

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Oct 23, 2026
  2. added
    P3
    on Nov 8, 2026
  3. self-assigned this
    on Nov 16, 2026
  4. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3enhancementgood first issuereleased

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions