Skip to content

Commit f71e0e9

Browse files
Sem VissscherSem Vissscher
authored andcommitted
Switched like/dislike positions
Switched like/dislike positions to match youtube musics layout
1 parent ba3779d commit f71e0e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

β€Žplugins/touchbar/back.jsβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const titleSelector = '.title.style-scope.ytmusic-player-bar';
1717
const imageSelector = '#layout > ytmusic-player-bar > div.middle-controls.style-scope.ytmusic-player-bar > img';
1818

1919
// These keys will be used to go backwards, pause, skip songs, like songs, dislike songs
20-
const keys = ['k', 'space', 'j', '+', '_'];
20+
const keys = ['k', 'space', 'j', '_', '+'];
2121

2222
const presskey = (window, key) => {
2323
window.webContents.sendInputEvent({
@@ -67,10 +67,10 @@ module.exports = win => {
6767
label: '⏭'
6868
}),
6969
new TouchBarButton({
70-
label: 'πŸ‘'
70+
label: 'πŸ‘Ž'
7171
}),
7272
new TouchBarButton({
73-
label: 'πŸ‘Ž'
73+
label: 'πŸ‘'
7474
})
7575
],
7676
change: i => presskey(win, keys[i])

0 commit comments

Comments
Β (0)