diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 14:21:21 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-09-12 14:21:21 +0200 |
| commit | 43af16801fcbb7056a51ed5fd6539c74ff5c0379 (patch) | |
| tree | bbf61e0d0df1cac84c441afaddcb2184dc450181 /accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | |
| parent | da23e39c353e68fdc7c5839d78945e88352a7f92 (diff) | |
| download | nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.gz nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.bz2 nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.tar.xz nixos-43af16801fcbb7056a51ed5fd6539c74ff5c0379.zip | |
...
Diffstat (limited to 'accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml')
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml index 4cbebcc9..2d3aca1b 100644 --- a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml +++ b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | |||
| @@ -149,6 +149,8 @@ Row { | |||
| 149 | WrapperMouseArea { | 149 | WrapperMouseArea { |
| 150 | id: windowMouseArea | 150 | id: windowMouseArea |
| 151 | 151 | ||
| 152 | required property int index | ||
| 153 | required property var modelData | ||
| 152 | property var windowData: modelData | 154 | property var windowData: modelData |
| 153 | 155 | ||
| 154 | hoverEnabled: true | 156 | hoverEnabled: true |
| @@ -164,12 +166,11 @@ Row { | |||
| 164 | WrapperRectangle { | 166 | WrapperRectangle { |
| 165 | color: windowMouseArea.containsMouse ? "#33808080" : "transparent"; | 167 | color: windowMouseArea.containsMouse ? "#33808080" : "transparent"; |
| 166 | 168 | ||
| 167 | anchors.fill: parent | ||
| 168 | |||
| 169 | WrapperItem { | 169 | WrapperItem { |
| 170 | anchors.fill: parent | 170 | rightMargin: 8 |
| 171 | 171 | leftMargin: 8 | |
| 172 | margin: 4 | 172 | topMargin: windowMouseArea.index == 0 ? 8 : 4 |
| 173 | bottomMargin: windowMouseArea.index == windowsModel.values.length - 1 ? 8 : 4 | ||
| 173 | 174 | ||
| 174 | Text { | 175 | Text { |
| 175 | id: windowLabel | 176 | id: windowLabel |
