diff --git a/.vscode/settings.json b/.vscode/settings.json index 75840e71..04145377 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,10 +11,10 @@ ], "typescript.tsserver.experimental.enableProjectDiagnostics": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true, - "source.fixAll.stylelint": true, - "source.organizeImports": false, - "source.formatDocument": true + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit", + "source.organizeImports": "never", + "source.formatDocument": "explicit" }, "css.validate": true, "less.validate": false, diff --git a/src/main/features/linux/mpris.ts b/src/main/features/linux/mpris.ts index de9d9bb7..4fe285d0 100644 --- a/src/main/features/linux/mpris.ts +++ b/src/main/features/linux/mpris.ts @@ -70,6 +70,8 @@ mprisPlayer.on('volume', (vol: number) => { getMainWindow()?.webContents.send('request-volume', { volume, }); + + mprisPlayer.volume = volume / 100; }); mprisPlayer.on('shuffle', (event: boolean) => {