Fix shortcuts

This commit is contained in:
TC
2021-02-07 18:29:08 +01:00
parent 5b8d5d5ee4
commit b2c9e445b7

View File

@ -30,10 +30,22 @@ module.exports = (win) => {
muteUnmute: () => pressKey(win, "m"), muteUnmute: () => pressKey(win, "m"),
maximizeMinimisePlayer: () => pressKey(win, "q"), maximizeMinimisePlayer: () => pressKey(win, "q"),
// Navigation // Navigation
goToHome: () => pressKey(win, "h", ["g"]), goToHome: () => {
goToLibrary: () => pressKey(win, "l", ["g"]), pressKey(win, "g");
goToHotlist: () => pressKey(win, "t", ["g"]), pressKey(win, "h");
goToSettings: () => pressKey(win, ",", ["g"]), },
goToLibrary: () => {
pressKey(win, "g");
pressKey(win, "l");
},
goToHotlist: () => {
pressKey(win, "g");
pressKey(win, "t");
},
goToSettings: () => {
pressKey(win, "g");
pressKey(win, ",");
},
search: () => pressKey(win, "/"), search: () => pressKey(win, "/"),
showShortcuts: () => pressKey(win, "/", ["shift"]), showShortcuts: () => pressKey(win, "/", ["shift"]),
}; };