Initial Implementation for Nerd Icons

This commit is contained in:
aditya-K2
2023-05-13 01:46:24 +05:30
parent ac7fd68e4f
commit fee1c9b351
3 changed files with 80 additions and 14 deletions

View File

@@ -27,6 +27,7 @@ type ConfigS struct {
ImageWidthExtraY int `yaml:"image_width_extra_y" mapstructure:"image_width_extra_y"`
HideImage bool `yaml:"hide_image" mapstructure:"hide_image"`
RoundedCorners bool `yaml:"rounded_corners" mapstructure:"rounded_corners"`
UseNerdIcons bool `yaml:"use_nerd_icons" mapstructure:"use_nerd_icons"`
}
func NewConfigS() *ConfigS {
@@ -34,8 +35,6 @@ func NewConfigS() *ConfigS {
CacheDir: utils.CheckDirectoryFmt(userCacheDir),
RedrawInterval: 500,
Colors: NewColors(),
HideImage: false,
RoundedCorners: false,
}
}