fix: fixes more stuff
This commit is contained in:
parent
f1cbe61f0d
commit
294c496163
2 changed files with 32 additions and 9 deletions
39
Bar/Bar.qml
39
Bar/Bar.qml
|
|
@ -128,20 +128,21 @@ Scope {
|
||||||
}
|
}
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: topCornerPanel
|
id: topLeftPanel
|
||||||
anchors.top: true
|
anchors.top: true
|
||||||
anchors.left: true
|
anchors.left: true
|
||||||
anchors.right: true
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
screen: modelData
|
screen: modelData
|
||||||
margins.top: 36
|
margins.top: 36
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
visible: true
|
visible: true
|
||||||
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
|
aboveWindows: false
|
||||||
|
WlrLayershell.namespace: "swww-daemon"
|
||||||
implicitHeight: 24
|
implicitHeight: 24
|
||||||
|
|
||||||
Corners {
|
Corners {
|
||||||
id: topleftCorner
|
id: topLeftCorner
|
||||||
position: "bottomleft"
|
position: "bottomleft"
|
||||||
size: 1.3
|
size: 1.3
|
||||||
fillColor: (Theme.backgroundPrimary !== undefined && Theme.backgroundPrimary !== null) ? Theme.backgroundPrimary : "#222"
|
fillColor: (Theme.backgroundPrimary !== undefined && Theme.backgroundPrimary !== null) ? Theme.backgroundPrimary : "#222"
|
||||||
|
|
@ -149,9 +150,25 @@ Scope {
|
||||||
offsetY: 0
|
offsetY: 0
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PanelWindow {
|
||||||
|
id: topRightPanel
|
||||||
|
anchors.top: true
|
||||||
|
anchors.right: true
|
||||||
|
color: "transparent"
|
||||||
|
screen: modelData
|
||||||
|
margins.top: 36
|
||||||
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
|
visible: true
|
||||||
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
|
aboveWindows: false
|
||||||
|
WlrLayershell.namespace: "swww-daemon"
|
||||||
|
|
||||||
|
implicitHeight: 24
|
||||||
|
|
||||||
Corners {
|
Corners {
|
||||||
id: toprightCorner
|
id: topRightCorner
|
||||||
position: "bottomright"
|
position: "bottomright"
|
||||||
size: 1.3
|
size: 1.3
|
||||||
fillColor: (Theme.backgroundPrimary !== undefined && Theme.backgroundPrimary !== null) ? Theme.backgroundPrimary : "#222"
|
fillColor: (Theme.backgroundPrimary !== undefined && Theme.backgroundPrimary !== null) ? Theme.backgroundPrimary : "#222"
|
||||||
|
|
@ -169,6 +186,9 @@ Scope {
|
||||||
screen: modelData
|
screen: modelData
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
visible: true
|
visible: true
|
||||||
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
|
aboveWindows: false
|
||||||
|
WlrLayershell.namespace: "swww-daemon"
|
||||||
|
|
||||||
implicitHeight: 24
|
implicitHeight: 24
|
||||||
|
|
||||||
|
|
@ -184,14 +204,17 @@ Scope {
|
||||||
}
|
}
|
||||||
|
|
||||||
PanelWindow {
|
PanelWindow {
|
||||||
id: bottomRightCornerPanel
|
id: bottomRightPanel
|
||||||
anchors.bottom: true
|
anchors.bottom: true
|
||||||
anchors.right: true
|
anchors.right: true
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
screen: modelData
|
screen: modelData
|
||||||
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
WlrLayershell.exclusionMode: ExclusionMode.Ignore
|
||||||
visible: true
|
visible: true
|
||||||
|
WlrLayershell.layer: WlrLayer.Background
|
||||||
|
aboveWindows: false
|
||||||
|
WlrLayershell.namespace: "swww-daemon"
|
||||||
|
|
||||||
implicitHeight: 24
|
implicitHeight: 24
|
||||||
|
|
||||||
Corners {
|
Corners {
|
||||||
|
|
@ -211,4 +234,4 @@ Scope {
|
||||||
|
|
||||||
// This alias exposes the visual bar's visibility to the outside world
|
// This alias exposes the visual bar's visibility to the outside world
|
||||||
property alias visible: barRootItem.visible
|
property alias visible: barRootItem.visible
|
||||||
}
|
}
|
||||||
|
|
@ -89,7 +89,7 @@ Singleton {
|
||||||
id: i,
|
id: i,
|
||||||
idx: ws.id,
|
idx: ws.id,
|
||||||
name: ws.name || "",
|
name: ws.name || "",
|
||||||
output: ws.monitor.name || "",
|
output: ws.monitor?.name || "",
|
||||||
isActive: ws.active === true,
|
isActive: ws.active === true,
|
||||||
isFocused: ws.focused === true,
|
isFocused: ws.focused === true,
|
||||||
isUrgent: ws.urgent === true
|
isUrgent: ws.urgent === true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue