Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ilya-manin/tmux-spotify
🎧 Spotify plugin for tmux
https://github.com/ilya-manin/tmux-spotify
spotify tmux
Last synced: 3 months ago
JSON representation
🎧 Spotify plugin for tmux
- Host: GitHub
- URL: https://github.com/ilya-manin/tmux-spotify
- Owner: ilya-manin
- License: mit
- Created: 2020-01-06T05:55:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-01T09:43:49.000Z (over 4 years ago)
- Last Synced: 2024-06-21T15:53:41.449Z (5 months ago)
- Topics: spotify, tmux
- Language: Shell
- Homepage:
- Size: 234 KB
- Stars: 103
- Watchers: 4
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-tmux - tmux-spotify
README
# Spotify plugin for tmux
[![GitHub](https://img.shields.io/github/license/xamut/tmux-spotify)](https://opensource.org/licenses/MIT)Show a nice menu to manage Spotify application.
## Installation
### Requirements
* macOS
* tmux >= 3.0### With Tmux Plugin Manager
Add the plugin in `.tmux.conf`:
```
set -g @plugin 'xamut/tmux-spotify'
```
Press `prefix + I` to fetch the plugin and source it. Done.### Manual
Clone the repo somewhere. Add `run-shell` in the end of `.tmux.conf`:```
run-shell PATH_TO_REPO/tmux-spotify.tmux
```
NOTE: this line should be placed after `set-option -g status-right ...`.Press `prefix + :` and type `source-file ~/.tmux.conf`. Done.
## Usage
Press tmux `prefix + s` (for example, `C-a s`) and you will see a nice menu:![tmux-spotify](./assets/spotify-menu.png)
```
* Copy URL (c) - copy Spotify URL of the current track to the clipboard
* Open Spotify (o) - open/launch Spotify
* Play/Pause (p) - toggle play/pause
* Previous (b) - play the current track from the beggining or play the previous track
* Next (n) - play the next track
* Turn on repeat (r) - switch on/off current playlist's repeating
* Turn on shuffle (s) - switch on/off current playlist's shuffling
* Close menu (q) - close menu
```## Other plugins
* [tmux-network-bandwidth](https://github.com/xamut/tmux-network-bandwidth)
* [tmux-weather](https://github.com/xamut/tmux-weather)## License
tmux-spotify plugin is released under the [MIT License](https://opensource.org/licenses/MIT).