mirror of
https://github.com/hyprwm/hyprsysteminfo.git
synced 2024-11-22 07:05:57 +01:00
qml: don't display bottom buttons on non-hl
This commit is contained in:
parent
a264ee9d76
commit
f76529df4a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue