mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-04-19 11:12:30 +02:00
52 lines
1.3 KiB
TypeScript
52 lines
1.3 KiB
TypeScript
/**
|
|
* Object to type my settings file:
|
|
*
|
|
* notifications: true,
|
|
* api: true,
|
|
* apiSettings: {
|
|
* port: 47836,
|
|
* },
|
|
* windowBounds: { width: 800, height: 600 },
|
|
*/
|
|
export const settings = {
|
|
adBlock: "adBlock",
|
|
api: "api",
|
|
apiSettings: {
|
|
root: "apiSettings",
|
|
port: "apiSettings.port",
|
|
},
|
|
customCSS: "customCSS",
|
|
disableBackgroundThrottle: "disableBackgroundThrottle",
|
|
disableHardwareMediaKeys: "disableHardwareMediaKeys",
|
|
enableCustomHotkeys: "enableCustomHotkeys",
|
|
enableDiscord: "enableDiscord",
|
|
ListenBrainz: {
|
|
root: "ListenBrainz",
|
|
enabled: "ListenBrainz.enabled",
|
|
api: "ListenBrainz.api",
|
|
token: "ListenBrainz.token",
|
|
},
|
|
flags: {
|
|
root: "flags",
|
|
disableHardwareMediaKeys: "flags.disableHardwareMediaKeys",
|
|
gpuRasterization: "flags.gpuRasterization",
|
|
enableWaylandSupport: "flags.enableWaylandSupport",
|
|
},
|
|
menuBar: "menuBar",
|
|
minimizeOnClose: "minimizeOnClose",
|
|
mpris: "mpris",
|
|
notifications: "notifications",
|
|
playBackControl: "playBackControl",
|
|
singleInstance: "singleInstance",
|
|
skipArtists: "skipArtists",
|
|
skippedArtists: "skippedArtists",
|
|
theme: "theme",
|
|
trayIcon: "trayIcon",
|
|
updateFrequency: "updateFrequency",
|
|
windowBounds: {
|
|
root: "windowBounds",
|
|
width: "windowBounds.width",
|
|
height: "windowBounds.height",
|
|
},
|
|
};
|