started on workspaces

This commit is contained in:
2026-06-23 13:21:29 +01:00
parent 10ff3c170e
commit 175cea641b
7 changed files with 75 additions and 9 deletions

View File

@@ -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
View 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)
}
}
}