enable global volume shortcuts in advanced config

This commit is contained in:
Araxeus
2021-04-26 21:01:19 +03:00
parent d4fdced538
commit 5a77528526
2 changed files with 31 additions and 7 deletions

View File

@ -50,6 +50,11 @@ const defaultConfig = {
enabled: false,
steps: 1, //percentage of volume to change
arrowsShortcut: true, //enable ArrowUp + ArrowDown local shortcuts
globalShortcuts: {
enabled: false, // enable global shortcuts
volumeUp: "Shift+PageUp", // Keybind default can be changed
volumeDown: "Shift+PageDown"
},
savedVolume: undefined //plugin save volume between session here
}
},