Add Config and command-line parameters for rounded-corners

This commit is contained in:
aditya-K2
2023-04-17 23:35:36 +05:30
parent dc2b61196a
commit 4dd2658dd0
2 changed files with 32 additions and 21 deletions

View File

@@ -36,6 +36,8 @@ type Colors struct {
PlaylistNav Color `mapstructure:"playlist_nav"`
Nav Color `mapstructure:"nav"`
ContextMenu Color `mapstructure:"context_menu"`
BorderFocus Color `mapstructure:"border_focus"`
Border Color `mapstructure:"border"`
Null Color
}
@@ -153,6 +155,16 @@ func NewColors() *Colors {
Bold: true,
Italic: false,
},
BorderFocus: Color{
Fg: "white",
Bold: false,
Italic: false,
},
Border: Color{
Fg: "grey",
Bold: false,
Italic: false,
},
Null: Color{
Fg: "white",
Bold: true,