forked from Shinonome/dots-hyprland
center-right block click to open right sidebar (closes #1442)
This commit is contained in:
@@ -240,11 +240,21 @@ Scope {
|
|||||||
|
|
||||||
VerticalBarSeparator {visible: ConfigOptions?.bar.borderless}
|
VerticalBarSeparator {visible: ConfigOptions?.bar.borderless}
|
||||||
|
|
||||||
BarGroup {
|
MouseArea {
|
||||||
id: rightCenterGroup
|
id: rightCenterGroup
|
||||||
|
implicitWidth: rightCenterGroupContent.implicitWidth
|
||||||
|
implicitHeight: rightCenterGroupContent.implicitHeight
|
||||||
Layout.preferredWidth: barRoot.centerSideModuleWidth
|
Layout.preferredWidth: barRoot.centerSideModuleWidth
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
|
||||||
|
onPressed: {
|
||||||
|
Hyprland.dispatch('global quickshell:sidebarRightToggle')
|
||||||
|
}
|
||||||
|
|
||||||
|
BarGroup {
|
||||||
|
id: rightCenterGroupContent
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
ClockWidget {
|
ClockWidget {
|
||||||
showDate: (ConfigOptions.bar.verbose && barRoot.useShortenedForm < 2)
|
showDate: (ConfigOptions.bar.verbose && barRoot.useShortenedForm < 2)
|
||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
@@ -261,6 +271,7 @@ Scope {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user