Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] macOS下Touch Bar的支持 #53

Open
Gabirel opened this issue Aug 10, 2019 · 1 comment
Open

[Feature Request] macOS下Touch Bar的支持 #53

Gabirel opened this issue Aug 10, 2019 · 1 comment

Comments

@Gabirel
Copy link

Gabirel commented Aug 10, 2019

期望的行为

可以充分利用Touch Bar的优势,对APP进行更加方便的控制

实现条件

Electron的v6.0.1中存在touch bar的API的:Here

来自官方的Electron的Touch Bar示例截图:
image

可以添加在Touch Bar中的栏目建议

  • 上一首(⬅️)
  • 播放/暂停
  • 下一首(➡️)
  • 喜爱(💗)
  • 不喜欢(删除或者其他icon)
  • 播放模式(随机,顺序,单曲循环)
  • 对APP本体静音(🔇)(TouchBar一般都有全局的静音按钮和音量控制,见上截图,不过认为个人本来就对这个APP本体静音的需求,所以我倾向于加上)
  • 加到收藏(可选)
  • 分享(可选)
    (一般来说,图标设置的大小合适的话,应该是放不了太多的,除非是把icon/emoji作为一个item,那可以放很多)

PS:我可以帮忙测试😀(前提是告诉我怎么测试,或者直接提交,然后我从CI下载最新版)

@xuelongqy
Copy link

TouchBar必须把软件放到前台才行,一般听歌不会有几个时候放到前台吧。快捷键更香吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants