all repos — quickshell @ a53dc9b5929431cb4013ee7f633e30f302d34763

A desert-witch desktop shell

0
trickyni trickyniv56@gmail.com
Fri, 26 Sep 2025 22:41:37 +0300
commit

a53dc9b5929431cb4013ee7f633e30f302d34763

parent

a0bff86fe528f7c7c7b6921c008e53b3a9610c25

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M bar/modules/Workspaces.qmlbar/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