tmux-gspot/README.md

48 lines
807 B
Markdown
Raw Normal View History

2023-01-20 01:55:54 +00:00
# Tmux gospt plugin
2023-01-20 01:54:30 +00:00
Plugin that shows current playing song with [gospt](https://gitea.asdf.cafe/abs3nt/gospt).
![Screenshot](https://user-images.githubusercontent.com/86447830/213586650-1a1d67c6-c029-4724-b8c2-f027deb16bb4.png)
### Usage
```tmux.conf
set -g status-right '#{now_playing}'
```
### Installation with Tmux Plugin Manager (Recommended)
Add plugin to the list of TPM plugins:
```tmux.conf
set -g @plugin 'abs3ntdev/tmux-gospt'
```
Press prefix + I to install it.
### Manual Installation
Clone the repo:
```bash
2023-01-20 01:56:28 +00:00
$ git clone https://gitea.asdf.cafe/abs3nt/tmux-gospt ~/clone/path
2023-01-20 01:54:30 +00:00
```
Add this line to your .tmux.conf:
```tmux.conf
run-shell ~/clone/path/actual_song.tmux
```
Reload TMUX environment with:
```bash
$ tmux source-file ~/.tmux.conf
```
___
### License
[MIT](LICENSE)