minor changes

This commit is contained in:
aditya-K2 2021-12-18 23:25:47 +05:30
parent 3eb2138ed5
commit 6ccd90b36b
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
goMP
gomp gomp
.idea
*.jpg *.jpg

View File

@ -30,7 +30,7 @@ func ReadConfig() {
viper.SetDefault(k, v) viper.SetDefault(k, v)
} }
viper.SetConfigName("config") viper.SetConfigName("config")
viper.AddConfigPath(HOME_DIR + "/.config/goMP") viper.AddConfigPath(HOME_DIR + "/.config/gomp")
err := viper.ReadInConfig() err := viper.ReadInConfig()
if err != nil { if err != nil {
fmt.Println("Could Not Read Config file.") fmt.Println("Could Not Read Config file.")

View File

@ -64,7 +64,7 @@ LASTFM_AUTO_CORRECT: 1 # 0 means it is turned off
# for e.g # for e.g
togglePlayBack : [ "p", "SPACE", "]" ] # using the quotes is neccessary. togglePlayBack : [ "p", "SPACE", "]" ] # using the quotes is neccessary.
# all the three keys now have the same function. # all the three keys now have the same function.
# To see Availabe Keys and Functions : https://github.com/aditya-K2/goMP#key-mappings # To see Availabe Keys and Functions : https://github.com/aditya-K2/gomp#key-mappings
# Caching # Caching
# #
@ -76,5 +76,5 @@ togglePlayBack : [ "p", "SPACE", "]" ] # using the quotes is neccessary.
# 3. Fallback to the default image. # 3. Fallback to the default image.
# #
# #
CACHE_DIR : "/path/to/the/cache/Directory" # for e.g "~/.config/goMP/cache/" CACHE_DIR : "/path/to/the/cache/Directory" # for e.g "~/.config/gomp/cache/"
# You will have to manually create this directory. # You will have to manually create this directory.