gomp/globals.go
aditya-K2 bae972f697 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
2021-10-29 13:54:06 +05:30

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() + "/"