Now the Image is resized according to font Size

Image is now resized according to the font size and also a new
globals.go files is added which contains all the globals.

the Image width can also be changed according to use by adding or
substracting pixels to it by changing the globals

IMAGE_WIDTH_EXTRA_X, IMAGE_WIDTH_EXTRA_Y

Also, now there is no need to specify where the music directory is
the mpd.conf file in `~/.config/mpd/` is automatically parsed for music
directory
This commit is contained in:
aditya-K2
2021-10-29 13:46:18 +05:30
parent 190564abd1
commit bae972f697
5 changed files with 41 additions and 8 deletions

View File

@@ -13,9 +13,6 @@ type Renderer struct {
c chan string
}
var ADDITIONAL_PADDING_X int = 16
var ADDITIONAL_PADDING_Y int = 24
/*
Returns a new Renderer with a string channel
*/