48 lines
805 B
Markdown
48 lines
805 B
Markdown
# Tmux gospt plugin
|
|
|
|
Plugin that shows current playing song with [gospt](https://gitea.asdf.cafe/abs3nt/gospt).
|
|
|
|

|
|
|
|
### 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
|
|
$ git clone https://github.com/abs3ntdev/tmux-gospt ~/clone/path
|
|
```
|
|
|
|
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)
|