diff --git a/plugins/touchbar/back.js b/plugins/touchbar/back.js index 9bead4d2..e165950f 100644 --- a/plugins/touchbar/back.js +++ b/plugins/touchbar/back.js @@ -17,7 +17,7 @@ const titleSelector = '.title.style-scope.ytmusic-player-bar'; const imageSelector = '#layout > ytmusic-player-bar > div.middle-controls.style-scope.ytmusic-player-bar > img'; // These keys will be used to go backwards, pause, skip songs, like songs, dislike songs -const keys = ['k', 'space', 'j', '+', '_']; +const keys = ['k', 'space', 'j', '_', '+']; const presskey = (window, key) => { window.webContents.sendInputEvent({ @@ -67,10 +67,10 @@ module.exports = win => { label: '⏭' }), new TouchBarButton({ - label: '👍' + label: '👎' }), new TouchBarButton({ - label: '👎' + label: '👍' }) ], change: i => presskey(win, keys[i])