forked from Shinonome/dots-hyprland
Merge branch 'end-4:main' into main
This commit is contained in:
@@ -152,8 +152,8 @@ Scope {
|
|||||||
visible: !bgRoot.wallpaperIsVideo
|
visible: !bgRoot.wallpaperIsVideo
|
||||||
property real value // 0 to 1, for offset
|
property real value // 0 to 1, for offset
|
||||||
value: {
|
value: {
|
||||||
// Range = half-groups that workspaces span on
|
// Range = groups that workspaces span on
|
||||||
const chunkSize = 5;
|
const chunkSize = Config?.options.bar.workspaces.shown ?? 10;
|
||||||
const lower = Math.floor(bgRoot.firstWorkspaceId / chunkSize) * chunkSize;
|
const lower = Math.floor(bgRoot.firstWorkspaceId / chunkSize) * chunkSize;
|
||||||
const upper = Math.ceil(bgRoot.lastWorkspaceId / chunkSize) * chunkSize;
|
const upper = Math.ceil(bgRoot.lastWorkspaceId / chunkSize) * chunkSize;
|
||||||
const range = upper - lower;
|
const range = upper - lower;
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ Singleton {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function safeModelName(modelName) {
|
function safeModelName(modelName) {
|
||||||
return modelName.replace(/:/g, "_").replace(/\./g, "_").replace(/ /g, "-").replace(/\//g, "-")
|
return modelName.replace(/:/g, "_").replace(/ /g, "-").replace(/\//g, "-")
|
||||||
}
|
}
|
||||||
|
|
||||||
property list<var> defaultPrompts: []
|
property list<var> defaultPrompts: []
|
||||||
|
|||||||
Reference in New Issue
Block a user