set general.use_emoji to false by default

This commit is contained in:
raziman 2021-02-04 21:24:05 +08:00
parent b14eeff330
commit edf4c7b729

View File

@ -29,9 +29,9 @@ type Panel interface {
}
const (
CONFIG_PATH = ".config/gomu/config"
HISTORY_PATH = "~/.local/share/gomu/urls"
MUSIC_PATH = "~/music"
CONFIG_PATH = ".config/gomu/config"
HISTORY_PATH = "~/.local/share/gomu/urls"
MUSIC_PATH = "~/music"
)
// Reads config file and sets the options
@ -108,7 +108,7 @@ emoji:
viper.SetDefault("general.popup_timeout", "5s")
viper.SetDefault("general.volume", 100)
viper.SetDefault("general.load_prev_queue", true)
viper.SetDefault("general.use_emoji", true)
viper.SetDefault("general.use_emoji", false)
// creates gomu config dir if does not exist
if _, err := os.Stat(defaultPath); err != nil {