UPDATE README
This commit is contained in:
parent
bae972f697
commit
4bca4fb0ff
21
README.md
21
README.md
@ -19,25 +19,29 @@ https://user-images.githubusercontent.com/51816057/138585868-92aff5bd-dd7e-46af-
|
|||||||
|
|
||||||
- Music Player Daemon must be setup
|
- Music Player Daemon must be setup
|
||||||
- Go Should Be Installed ( for building )
|
- Go Should Be Installed ( for building )
|
||||||
- Set the Path to your mpd DATABASE in [progressbar.go](https://github.com/aditya-K2/goMP/blob/master/progressBar.go)
|
- Your mpd.conf file in ``~/.config/mpd/mpd.conf`` is automatically parsed to get ``music_directory``
|
||||||
|
- In [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go) set the path for your default Image
|
||||||
```go
|
|
||||||
var DBDIR string = "PATH TO YOUR MPD DATABASE HERE"
|
|
||||||
```
|
|
||||||
|
|
||||||
- In [imageUtils.go](https://github.com/aditya-K2/goMP/blob/master/imageUtils.go) set the path for your default Image
|
|
||||||
|
|
||||||
```go
|
```go
|
||||||
var path string = "YOUR DEFAULT IMAGE PATH HERE"
|
var path string = "YOUR DEFAULT IMAGE PATH HERE"
|
||||||
```
|
```
|
||||||
|
|
||||||
- Change the default additional Image padding according to your terminal in [render.go](https://github.com/aditya-K2/goMP/blob/master/render.go)
|
- Change the default additional Image padding according to your terminal in [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go)
|
||||||
|
|
||||||
```go
|
```go
|
||||||
// Change according to your needs
|
// Change according to your needs
|
||||||
|
|
||||||
var ADDITIONAL_PADDING_X int = 16
|
var ADDITIONAL_PADDING_X int = 16
|
||||||
var ADDITIONAL_PADDING_Y int = 24
|
var ADDITIONAL_PADDING_Y int = 24
|
||||||
|
```
|
||||||
|
- Increment/Decrement Image Pixels according to your terminal in [globals.go](https://github.com/aditya-K2/goMP/blob/master/globals.go)
|
||||||
|
|
||||||
|
```go
|
||||||
|
// Change according to your needs
|
||||||
|
|
||||||
|
var IMAGE_WIDTH_EXTRA_X float32 = -1.5 // Decrementing
|
||||||
|
var IMAGE_WIDTH_EXTRA_Y float32 = -3.75 // Incrementing
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
# Installing / Building
|
# Installing / Building
|
||||||
@ -52,3 +56,4 @@ go build
|
|||||||
|
|
||||||
- Alacritty
|
- Alacritty
|
||||||
- ST
|
- ST
|
||||||
|
- URXVT
|
||||||
|
Loading…
Reference in New Issue
Block a user