Open wallpaper picker from launcher, apply on click, move media bar options to module cog
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e71ce9c0a4
commit
2e80ef1181
10 files changed
+49
-79
No files matched your search
@@ -47,12 +47,25 @@ Singleton {
|
||||
{ key: "preview", label: "Hover preview", choices: ["on", "off"], fallback: "on" }
|
||||
]
|
||||
})
|
||||
// Cog options stored outside the module entry: a config path shared by every
|
||||
// layout (`setting`), or another module's enabled flag (`module`).
|
||||
readonly property var sharedOptions: ({
|
||||
nowPlaying: [
|
||||
{ key: "visualizer", module: "cava", label: "Visualizer", type: "boolean", description: "Cava bars beside the track; shows system audio and only runs while something plays" },
|
||||
{ key: "cavaBars", setting: "bar.cava.bars", label: "Visualizer bars", type: "integer", min: 4, max: 24 },
|
||||
{ key: "cavaStyle", setting: "bar.cava.style", label: "Visualizer style", type: "choice", choices: ["bars", "mirror"] },
|
||||
{ key: "cavaHide", setting: "bar.cava.hideWhenIdle", label: "Hide while paused", type: "boolean" }
|
||||
],
|
||||
cava: [
|
||||
{ key: "cavaBars", setting: "bar.cava.bars", label: "Bars", type: "integer", min: 4, max: 24 },
|
||||
{ key: "cavaStyle", setting: "bar.cava.style", label: "Style", type: "choice", choices: ["bars", "mirror"] },
|
||||
{ key: "cavaHide", setting: "bar.cava.hideWhenIdle", label: "Hide while paused", type: "boolean" }
|
||||
]
|
||||
})
|
||||
// Modules whose options already live on a settings page: the cog jumps there.
|
||||
readonly property var settingsLinks: ({
|
||||
clock: { page: "bar", setting: "Show date" },
|
||||
workspaces: { page: "bar", setting: "Workspace style" },
|
||||
cava: { page: "media", setting: "Visualizer bars" },
|
||||
nowPlaying: { page: "media", setting: "Now playing" },
|
||||
tray: { page: "tray", setting: "" },
|
||||
volume: { page: "osd", setting: "Step" },
|
||||
system: { page: "controlcenter", setting: "" },
|
||||
|
||||
Reference in new issue
Block a user