Widen the Omarchy menu via a cloned plugin

Claude-Session: https://claude.ai/code/session_014ADhvRXuiTvrXSbConxUey
This commit is contained in:
2026-08-19 14:42:48 -04:00
parent ace9f73af6
commit bfb9eeaea4
8 changed files with 2007 additions and 7 deletions
+24
View File
@@ -0,0 +1,24 @@
import QtQuick
import qs.Ui
BarWidget {
id: root
moduleName: "omarchy.menu"
implicitWidth: button.implicitWidth
implicitHeight: button.implicitHeight
WidgetButton {
id: button
anchors.fill: parent
bar: root.bar
text: "\ue900"
fontFamily: "omarchy"
horizontalMargin: 7.5
onPressed: function(button) {
if (!root.bar) return
if (button === Qt.RightButton) root.bar.run("xdg-terminal-exec")
else root.bar.run("omarchy-shell shell toggle omarchy.menu '{\"menu\":\"root\"}'")
}
}
}