started on workspaces
This commit is contained in:
@@ -112,8 +112,6 @@ Item {
|
||||
model: root.server.trackedNotifications.values.length
|
||||
spacing: 7
|
||||
|
||||
// verticalLayoutDirection: ListView.BottomToTop
|
||||
|
||||
delegate: Item {
|
||||
id: notifRoot
|
||||
|
||||
@@ -169,6 +167,19 @@ Item {
|
||||
}
|
||||
]
|
||||
|
||||
StyledText {
|
||||
color: Colors.surface0
|
||||
font.pointSize: 15
|
||||
horizontalAlignment: Qt.AlignRight
|
||||
text: ""
|
||||
verticalAlignment: Qt.AlignVCenter
|
||||
|
||||
anchors {
|
||||
fill: parent
|
||||
rightMargin: 14
|
||||
}
|
||||
}
|
||||
|
||||
TapHandler {
|
||||
onTapped: {
|
||||
notifRoot.currentNotif.dismiss();
|
||||
|
||||
24
Bar/Left.qml
Normal file
24
Bar/Left.qml
Normal file
@@ -0,0 +1,24 @@
|
||||
pragma ComponentBehavior: Bound
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import Quickshell.Hyprland
|
||||
import Quickshell.Services.Notifications
|
||||
import "../Color.js" as Colors
|
||||
import "../Components/"
|
||||
import "../Services/"
|
||||
import "./Center"
|
||||
|
||||
Container {
|
||||
required property HyprlandMonitor monitor
|
||||
|
||||
boxHeight: 25
|
||||
boxWidth: 40
|
||||
exclusiveMonitor: monitor
|
||||
|
||||
Item {
|
||||
StyledText {
|
||||
text: WorkspaceManager.getWorkspacesForMonitor(monitor)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user