mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 05:02:06 +00:00
fix some shortcuts
This commit is contained in:
@ -13,8 +13,8 @@ module.exports = (win) => {
|
|||||||
previous: () => pressKey(win, "k"),
|
previous: () => pressKey(win, "k"),
|
||||||
next: () => pressKey(win, "j"),
|
next: () => pressKey(win, "j"),
|
||||||
playPause: () => pressKey(win, "space"),
|
playPause: () => pressKey(win, "space"),
|
||||||
like: () => pressKey(win, "_"),
|
like: () => pressKey(win, "+"),
|
||||||
dislike: () => pressKey(win, "+"),
|
dislike: () => pressKey(win, "_"),
|
||||||
go10sBack: () => pressKey(win, "h"),
|
go10sBack: () => pressKey(win, "h"),
|
||||||
go10sForward: () => pressKey(win, "l"),
|
go10sForward: () => pressKey(win, "l"),
|
||||||
go1sBack: () => pressKey(win, "h", ["shift"]),
|
go1sBack: () => pressKey(win, "h", ["shift"]),
|
||||||
@ -24,8 +24,6 @@ module.exports = (win) => {
|
|||||||
// General
|
// General
|
||||||
volumeMinus10: () => pressKey(win, "-"),
|
volumeMinus10: () => pressKey(win, "-"),
|
||||||
volumePlus10: () => pressKey(win, "="),
|
volumePlus10: () => pressKey(win, "="),
|
||||||
dislikeAndNext: () => pressKey(win, "-", ["shift"]),
|
|
||||||
like: () => pressKey(win, "=", ["shift"]),
|
|
||||||
fullscreen: () => pressKey(win, "f"),
|
fullscreen: () => pressKey(win, "f"),
|
||||||
muteUnmute: () => pressKey(win, "m"),
|
muteUnmute: () => pressKey(win, "m"),
|
||||||
maximizeMinimisePlayer: () => pressKey(win, "q"),
|
maximizeMinimisePlayer: () => pressKey(win, "q"),
|
||||||
@ -38,14 +36,14 @@ module.exports = (win) => {
|
|||||||
pressKey(win, "g");
|
pressKey(win, "g");
|
||||||
pressKey(win, "l");
|
pressKey(win, "l");
|
||||||
},
|
},
|
||||||
goToHotlist: () => {
|
|
||||||
pressKey(win, "g");
|
|
||||||
pressKey(win, "t");
|
|
||||||
},
|
|
||||||
goToSettings: () => {
|
goToSettings: () => {
|
||||||
pressKey(win, "g");
|
pressKey(win, "g");
|
||||||
pressKey(win, ",");
|
pressKey(win, ",");
|
||||||
},
|
},
|
||||||
|
goToExplore: () => {
|
||||||
|
pressKey(win, "g");
|
||||||
|
pressKey(win, "e");
|
||||||
|
},
|
||||||
search: () => pressKey(win, "/"),
|
search: () => pressKey(win, "/"),
|
||||||
showShortcuts: () => pressKey(win, "/", ["shift"]),
|
showShortcuts: () => pressKey(win, "/", ["shift"]),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user