0
trickyni trickyniv56@gmail.com
Fri, 26 Sep 2025 22:41:37 +0300
1 files changed,
5 insertions(+),
2 deletions(-)
jump to
M
bar/modules/Workspaces.qml
→
bar/modules/Workspaces.qml
@@ -9,9 +9,10 @@ import "../../"
RowLayout { spacing: 2*(Size.scale*2.5) - id: workspaces + id: workspaces_module property var ws_focused: I3.focusedWorkspace?.number Repeater { + id: workspace_instance model: I3.workspaces.values Button { padding: 2@@ -21,8 +22,9 @@ hoverEnabled: true
anchors.fill: parent cursorShape: Qt.PointingHandCursor onClicked: I3.dispatch(`workspace number `+ modelData.number); - } + } background: Rectangle { + id: workspace_instance_rect width: Resources.barsize.topbar height: Resources.barsize.topbar anchors.centerIn: parent@@ -32,6 +34,7 @@ ? Resources.palette.orange
: ws_button.containsMouse ? Resources.palette.altbg : Resources.palette.bg + } contentItem: Text { id: wsLabel