2023-01-20 01:55:54 +00:00
|
|
|
# Tmux gospt plugin
|
2023-01-20 01:54:30 +00:00
|
|
|
|
2023-03-10 07:49:34 +00:00
|
|
|
Plugin that shows current playing song with [gospt](https://git.asdf.cafe/abs3nt/gospt).
|
2023-01-20 01:54:30 +00:00
|
|
|
|
|
|
|
![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-03-10 07:49:34 +00:00
|
|
|
$ git clone https://git.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)
|