diff --git a/.config/quickshell/ii/modules/background/Background.qml b/.config/quickshell/ii/modules/background/Background.qml index ffd08bee5..dc6bdece1 100644 --- a/.config/quickshell/ii/modules/background/Background.qml +++ b/.config/quickshell/ii/modules/background/Background.qml @@ -152,8 +152,8 @@ Scope { visible: !bgRoot.wallpaperIsVideo property real value // 0 to 1, for offset value: { - // Range = half-groups that workspaces span on - const chunkSize = 5; + // Range = groups that workspaces span on + const chunkSize = Config?.options.bar.workspaces.shown ?? 10; const lower = Math.floor(bgRoot.firstWorkspaceId / chunkSize) * chunkSize; const upper = Math.ceil(bgRoot.lastWorkspaceId / chunkSize) * chunkSize; const range = upper - lower; diff --git a/.config/quickshell/ii/services/Ai.qml b/.config/quickshell/ii/services/Ai.qml index cff1bcbb2..f265d953c 100644 --- a/.config/quickshell/ii/services/Ai.qml +++ b/.config/quickshell/ii/services/Ai.qml @@ -62,7 +62,7 @@ Singleton { } function safeModelName(modelName) { - return modelName.replace(/:/g, "_").replace(/\./g, "_").replace(/ /g, "-").replace(/\//g, "-") + return modelName.replace(/:/g, "_").replace(/ /g, "-").replace(/\//g, "-") } property list defaultPrompts: []