mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
27 lines
474 B
JavaScript
27 lines
474 B
JavaScript
const {TouchBar} = require('electron')
|
|
const {TouchBarButton, TouchBarSpacer} = TouchBar
|
|
|
|
const allNotes = new TouchBarButton({
|
|
label: '📒',
|
|
click: () => {}
|
|
})
|
|
|
|
const starredNotes = new TouchBarButton({
|
|
label: '⭐️',
|
|
click: () => {}
|
|
})
|
|
|
|
const trash = new TouchBarButton({
|
|
label: '🗑',
|
|
click: () => {}
|
|
})
|
|
|
|
module.exports = new TouchBar([
|
|
allNotes,
|
|
new TouchBarSpacer({size: 'small'}),
|
|
starredNotes,
|
|
new TouchBarSpacer({size: 'small'}),
|
|
trash
|
|
])
|
|
|