679e14c37fda942cf0199c232e7c72888c3c6bcb
The old bash bin short-circuited with close_visible_quickshell_menu at the top of open_quickshell_menu, so pressing any menu keybind while the menu was open just closed it. The IPC path I introduced summoned every time, so keyboard shortcuts couldn't dismiss \u2014 only outside clicks did (which is why the bar icon appeared to toggle: clicking it while the menu was open hit the menu's outer-click MouseArea, not the icon). Add a menu.toggle IPC method: - if root.opened: cancel() and return "closed" - otherwise: behaves exactly like summon Switch every Hyprland binding and the two bar-icon click handlers (omarchy logo, battery right-click \u2192 power menu) to toggle. summon stays as the always-open primitive for callers that want explicit summon semantics (rare \u2014 right now nothing internal uses it).
Omarchy
Omarchy is a beautiful, modern & opinionated Linux distribution by DHH.
Read more at omarchy.org.
License
Omarchy is released under the MIT License.
Languages
Shell
57.3%
QML
31.2%
JavaScript
4.1%
Python
2.9%
Go Template
2.5%
Other
2%