bae972f697
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
10 lines
208 B
Go
10 lines
208 B
Go
package main
|
|
|
|
var ADDITIONAL_PADDING_X int = 12
|
|
var ADDITIONAL_PADDING_Y int = 16
|
|
|
|
var IMAGE_WIDTH_EXTRA_X float32 = -1.5
|
|
var IMAGE_WIDTH_EXTRA_Y float32 = -3.75
|
|
|
|
var DBDIR string = getMusicDirectory() + "/"
|