dock: add opacity slider as requested in #222

This commit is contained in:
Ly-sec 2025-09-05 22:36:04 +02:00
parent a3aba8d0db
commit 60950fb461
3 changed files with 43 additions and 1 deletions

View file

@ -32,6 +32,8 @@ Variants {
screen: modelData
WlrLayershell.namespace: "noctalia-dock"
property bool autoHide: Settings.data.dock.autoHide
property bool hidden: autoHide
property int hideDelay: 500
@ -130,7 +132,7 @@ Variants {
id: dockContainer
width: dock.width + 48 * scaling
height: iconSize * 1.4 * scaling
color: Color.mSurface
color: Qt.alpha(Color.mSurface, Settings.data.dock.backgroundOpacity)
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
anchors.bottomMargin: dockSpacing