2024-02-19 07:54:18 +00:00
|
|
|
# Tmux gspot plugin
|
2024-02-19 08:35:46 +00:00
|
|
|
:)
|
2023-03-10 18:02:42 +00:00
|
|
|
|
2024-02-19 07:54:18 +00:00
|
|
|
Plugin that shows current playing song with [gspot](https://git.asdf.cafe/abs3nt/gspot).
|
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
|
2024-02-19 07:54:18 +00:00
|
|
|
set -g @plugin 'abs3ntdev/tmux-gspot'
|
2023-01-20 01:54:30 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Press prefix + I to install it.
|
|
|
|
|
|
|
|
### Manual Installation
|
|
|
|
|
|
|
|
Clone the repo:
|
|
|
|
|
|
|
|
```bash
|
2024-02-19 07:54:18 +00:00
|
|
|
$ git clone https://git.asdf.cafe/abs3nt/tmux-gspot ~/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)
|