Module youtube_tui::config
source · Expand description
Structs for config files, all impl ConfigTrait, config files are stored in ~./config
Modules
- Structs that impl
Into<T>
becauseT
does not impl Serde but is used in config files
Structs
appearance.yml
, this struct is stored indata.global
appearance.yml
, impl serde version of AppearanceConfig- Includes all configurable colors
- Stores combinations of label and commands
- Hashmaps are better formatted in YAML, impls
Into<CommandsConfig>
- Colors used by ItemInfo
keybindings.yml
, contains a hashmap of key + key modifier to action pairmain.yml
, the main config file- Minimum screen dimention for the tui to display without panicking, stored in
data.state
- Layout for one single page
- Layout for all pages
- Search query & filters
- Search filters, read comments for function docs
Enums
- how images are handled/displayed
- All avaliable items for
PageConfig
- CenteredRow will have its items centered, while NonCenteredRow will align to the left