add bar transparency
This commit is contained in:
parent
f61bd429d6
commit
d919056a03
5 changed files with 30 additions and 27 deletions
|
|
@ -1,13 +1,14 @@
|
|||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import Quickshell.Wayland
|
||||
|
||||
import qs
|
||||
import qs.settings
|
||||
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
delegate: PanelWindow {
|
||||
delegate: WlrLayershell {
|
||||
id: root
|
||||
required property var modelData
|
||||
screen: modelData
|
||||
|
|
@ -17,7 +18,9 @@ Variants {
|
|||
right: true
|
||||
}
|
||||
implicitHeight: Config.barHeight
|
||||
color: Colors.base00
|
||||
color: Qt.rgba(Colors.base00.r, Colors.base00.g, Colors.base00.b, 0.8)
|
||||
layer: WlrLayer.Top
|
||||
|
||||
RowLayout {
|
||||
id: leftLayout
|
||||
spacing: 5
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ WrapperRectangle {
|
|||
root.color = Colors.base01;
|
||||
}
|
||||
onClicked: {
|
||||
root.notification.dismiss();
|
||||
root.notification ? root.notification.dismiss() : '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ Variants {
|
|||
layer: WlrLayer.Background
|
||||
required property ShellScreen modelData
|
||||
screen: modelData
|
||||
exclusionMode: ExclusionMode.Ignore
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
|
|
@ -18,10 +19,9 @@ Variants {
|
|||
right: true
|
||||
}
|
||||
Image {
|
||||
cache: true
|
||||
anchors.fill: parent
|
||||
source: Config.wallpaper
|
||||
|
||||
cache: true
|
||||
anchors.fill: parent
|
||||
source: Config.wallpaper
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue