看倦了 Spotify 默认的黑色主题?给你的 Spotify 设置一个 light 主题吧
source link: https://hellodk.cn/post/471
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
看倦了 Spotify 默认的黑色主题?给你的 Spotify 设置一个 light 主题吧
Spotify 默认的主题都是黑色的,个人不是很喜欢 dark 主题,尤其是白天周围光线非常充足的时候,看多了 dark theme 再看周围世界,都觉得眼睛很累
于是在网上搜了下,发现还真有解决方案。(因为 Spotify 默认没有主题设置)
我使用的是 macOS 平台
1. 基础条件
- macOS 已经安装部署了 homebrew 软件包管理工具
2. 需要安装
- spicetify-cli,
spicetify-cli
是一个跨平台的 Spotify 客户端 UI 定制工具,支持 Windows,MacOS 和 Linux
3. 安装 spicetify-cli
brew install khanhas/tap/spicetify-cli
4. 期间遇到网络问题
go: github.com/go-ini/[email protected]: Get https://proxy.golang.org/github.com/go-ini/ini/@v/v1.62.0.mod: dial tcp 172.217.25.17:443: i/o timeout
不用看,这是网络问题。因为使用 go get
、go install
、go mod
等命令时,会自动下载相应的包或依赖包,但是相关的域名或服务被大陆土啬了,所以我们建议使用国内的代理服务/镜像
我在路由器上使用了大陆白名单模式依然超时,最终选择了七牛的 go module 镜像
查看系统 go 版本
$ go version
go version go1.13.5 darwin/amd64
go env -w GO111MODULE=on
go env -w GOPROXY=https://goproxy.cn,direct
再次执行 brew install khanhas/tap/spicetify-cli
于是安装成功
$ brew install khanhas/tap/spicetify-cli
==> Installing spicetify-cli from khanhas/tap
==> Downloading https://github.com/khanhas/spicetify-cli/archive/v1.2.1.tar.gz
Already downloaded: /Users/xxx/Library/Caches/Homebrew/downloads/276c857dd1bfb51696bbd49d223b327e8748f1d9a99376daae915863ff453117--spicetify-cli-1.2.1.tar.gz
==> go build -o spicetify
🍺 /usr/local/Cellar/spicetify-cli/1.2.1: 25 files, 10.7MB, built in 9 seconds
5. 继续配置
先完全退出 Spotify 程序,然后执行
spicetify backup apply enable-devtool
执行成功后应该会自动启动 Spotify 程序
success Default config.ini generated.
spicetify v1.2.1
Backing up app files:
OK
Extracting:
OK
Preprocessing:
OK
OK
success Everything is ready, you can start applying now!
Copying raw assets:
OK
Overwriting themed assets:
OK
Transferring user.css:
OK
Applying additional modifications:
OK
success Spotify is spiced up!
success DevTool enabled!
此时发现新的默认的 UI, light 主题的 Spofity 界面已经生效了
spicetify update
我的目标达成了
如果想要继续探索,继续自定义 UI 可以看后文中的少数派的文章
6. Reference
本作品采用 知识共享署名-相同方式共享 4.0 国际许可协议 进行许可。
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK