mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-16 12:42:06 +00:00
Fix shortcuts
This commit is contained in:
@ -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"]),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user