https://github.com/aaronhallaert/spotify-tray
https://github.com/aaronhallaert/spotify-tray
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaronhallaert/spotify-tray
- Owner: aaronhallaert
- Created: 2022-05-13T15:08:39.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-14T20:26:22.000Z (about 3 years ago)
- Last Synced: 2024-06-20T00:32:45.857Z (almost 2 years ago)
- Language: Go
- Size: 19.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spotify Tray
_MacOS only_

## Description
This application fetches spotify status with osascript from the Spotify Desktop application and displays the result in the system tray.
## How to use the app
Download the latest version of the app dmg from the [releases page](https://github.com/aaronhallaert/spotify-tray/releases)
Launch the app or from the terminal as a process. A system tray should appear with information about current track data from the Spotify desktop app. You can format this information with some options by clicking on the system tray:
- `Show artist first`: show the artist first and then the title (default: `true`)
- `Show album`: show the album as well (default: `false`, lot of space get's taken in if you also enable the album)
- `Show progress`: show a percentage with how far the track has progressed (default: `true`)
- `Use more space`: use `64` characters for artist and `64` characters for track title, otherwise use `20` characters (default: `true`)
- `Use alternate separator`: use `-§-` as a separator instead of `-`.
- `Open at login`: open the app when mac starts up or user logs in
## How to create the app
- Install go on your machine (`brew install go`)
### CLI
- Build with `make build`
- Execute with `./dist/spotify-tray`
### App
- Build with `make macapp`
- Open the `Spotify Tray.dmg` that was created in the `release` folder
### Generate icon
You can generate a custom tray icon with `make generate_icon icon=path-to-file`