diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2026-08-27 21:28:46 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2026-08-27 21:28:46 +0200 |
| commit | de19c06ea34410ec3585273dceb3235e84a8dc43 (patch) | |
| tree | ee9c1957078cae0442452cc8a76a2cb7a9b0025b | |
| parent | 9d1edba662781e918d49e4ab66f63d118e266785 (diff) | |
| download | nixos-de19c06ea34410ec3585273dceb3235e84a8dc43.tar nixos-de19c06ea34410ec3585273dceb3235e84a8dc43.tar.gz nixos-de19c06ea34410ec3585273dceb3235e84a8dc43.tar.bz2 nixos-de19c06ea34410ec3585273dceb3235e84a8dc43.tar.xz nixos-de19c06ea34410ec3585273dceb3235e84a8dc43.zip | |
...flakes
| -rw-r--r-- | accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml index 1ed1458c..a893937a 100644 --- a/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml +++ b/accounts/gkleen@sif/shell/quickshell/WorkspaceSwitcher.qml | |||
| @@ -28,7 +28,7 @@ Row { | |||
| 28 | return NiriService.outputs?.[a.output]?.logical?.y - NiriService.outputs?.[b.output]?.logical?.y | 28 | return NiriService.outputs?.[a.output]?.logical?.y - NiriService.outputs?.[b.output]?.logical?.y |
| 29 | return a.idx - b.idx; | 29 | return a.idx - b.idx; |
| 30 | }); | 30 | }); |
| 31 | return JSON.parse(JSON.stringify(currWorkspaces)); | 31 | return currWorkspaces.map(o => Object.assign({}, o)); |
| 32 | } | 32 | } |
| 33 | } | 33 | } |
| 34 | 34 | ||
| @@ -144,7 +144,7 @@ Row { | |||
| 144 | 144 | ||
| 145 | return a.title.localeCompare(b.title); | 145 | return a.title.localeCompare(b.title); |
| 146 | }); | 146 | }); |
| 147 | return JSON.parse(JSON.stringify(currWindows)); | 147 | return currWindows.map(o => Object.assign({}, o)); |
| 148 | } | 148 | } |
| 149 | } | 149 | } |
| 150 | 150 | ||
