qml: don't display bottom buttons on non-hl

This commit is contained in:
Vaxry 2024-10-13 16:49:52 +01:00
parent a264ee9d76
commit f76529df4a
1 changed files with 2 additions and 0 deletions

View File

@ -186,6 +186,7 @@ ApplicationWindow {
} }
Rectangle { Rectangle {
visible: hsi.hasHyprland()
color: Qt.darker(system.text, 1.5) color: Qt.darker(system.text, 1.5)
Layout.preferredHeight: 1 Layout.preferredHeight: 1
Layout.fillWidth: true Layout.fillWidth: true
@ -196,6 +197,7 @@ ApplicationWindow {
} }
RowLayout { RowLayout {
visible: hsi.hasHyprland()
spacing: 6 spacing: 6
Layout.leftMargin: 20 Layout.leftMargin: 20
Layout.rightMargin: 20 Layout.rightMargin: 20