noctalia-shell/Modules/Bar/Bar.qml
quadbyte 55bc7c9534 Settings vs Colors
Moved the fontFamily in the settings
Theme is now called Colors (as in ColorScheme)
2025-08-09 18:40:55 -04:00

47 lines
786 B
QML

import QtQuick
import Quickshell
import QtQuick.Controls
import QtQuick.Layouts
import qs.Widgets
import qs.Services
PanelWindow {
id: root
readonly property real scaling: Scaling.scale(screen)
property var modelData
screen: modelData
implicitHeight: Style.barHeight * scaling
color: "transparent"
anchors {
top: true
left: true
right: true
}
Item {
anchors.fill: parent
Rectangle {
anchors.fill: parent
color: Colors.backgroundPrimary
layer.enabled: true
}
// Testing widgets
RowLayout {
NIconButton {
id: demoPanelToggler
icon: "experiment"
onClicked: function () {
demoPanel.visible ? demoPanel.hide() : demoPanel.show()
}
}
Clock {}
}
}
}