Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusOnline int8 = iota StatusOffline = 2 StatusNoNewSyncs = 3 )
Variables ¶
View Source
var VERSION string
Functions ¶
func SetDefaults ¶
func SetDefaults(cacheDir string)
Types ¶
type Config ¶
type Config struct { Debug bool Log string Proxy string Browser string RenderShadows bool RenderImages bool RenderSplash bool RenderBanner bool Systems []SystemConfig Theme struct { Header struct { Selector ThemeItemConfig Spinner ThemeItemConfig } DialogBox struct { Window struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Titlebar struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Bottombar ThemeItemConfig } ErrorDialogBox struct { Window struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Titlebar struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Bottombar ThemeItemConfig } PostsList struct { List struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Item struct { Focused ThemeItemConfig Blurred ThemeItemConfig Selected ThemeItemConfig } ItemDetail struct { Focused ThemeItemConfig Blurred ThemeItemConfig Selected ThemeItemConfig } } PopupList struct { List struct { Focused ThemeItemConfig Blurred ThemeItemConfig } Item struct { Focused ThemeItemConfig Blurred ThemeItemConfig Selected ThemeItemConfig } ItemDetail struct { Focused ThemeItemConfig Blurred ThemeItemConfig Selected ThemeItemConfig } } Post struct { Author ThemeItemConfig Subject ThemeItemConfig } Reply struct { Author ThemeItemConfig } } }
type ServiceStatus ¶
type ServiceStatus int8
type SystemConfig ¶
type ThemeItemConfig ¶
type ThemeItemConfig struct { Foreground lipgloss.AdaptiveColor Background lipgloss.AdaptiveColor Border struct { Foreground lipgloss.AdaptiveColor Background lipgloss.AdaptiveColor Border lipgloss.Border Sides []bool } Padding []int Margin []int }
Click to show internal directories.
Click to hide internal directories.