Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultASCII = ` ╭─────────╮ │ ◠ ◡ ◠ │ │ │ ╰─────────╯` ArchASCII = ` /\ / \ /\ \ / \ / ,, \ / | | -\ /_-'' ''-_\` UbuntuASCII = ` _ ---(_) _/ --- \ (_) | | \ --- _/ ---(_)` DebianASCII = ` _____ / __ \ | / | | \___- -_ --_` FedoraASCII = ` _____ / __)\\ | / \\ \\ ___| |__/ / / (_ _)_/ / / | | \ \__/ | \(_____/` MintASCII = ` ___________ |_ \\ | | | | | | | | | | | | |_|_|_|_|_|` ManjaroASCII = `` /* 276-byte string literal not displayed */ PopOSASCII = `` /* 145-byte string literal not displayed */ GentooASCII = ` _-----_ ( \\ \\ 0 \\ \\ ) / _/ ( _- \\____-` OpenSUSEASCII = ` _______ ____/ ___/_ / / / / / /_/ / /____/` KaliASCII = `` /* 170-byte string literal not displayed */ VoidASCII = ` _______ / _ \ \\ | (..) | | \\____/ / '----'` NixOSASCII = ` \\\\ \\\\ // ==\\\\__\\\\/ // // \\\\// ==// //== //\\\\___// // /\\\\ \\\\== // \\\\ \\\\` MacOSASCII = ` .:' __ :'__ .' ' '. : : : : : : '.____.'` WindowsASCII = `` /* 417-byte string literal not displayed */ FreeBSDASCII = ` /\\,-'''''-,/\\ \\_) (_/ | | | | ; ; '-_____-'` AlpineASCII = ` /\\ /\\ / \\ \\ / \\ \\ / \\ \\ /__ \\__\\` )
ASCII art for various operating systems and distributions
Variables ¶
This section is empty.
Functions ¶
func DetectOS ¶
func DetectOS() string
DetectOS attempts to detect the operating system and distribution (cached)
func GetASCIIArt ¶
GetASCIIArt returns ASCII art for the detected or specified OS
Types ¶
type Styles ¶
type Styles struct {
Label lipgloss.Style
Value lipgloss.Style
Separator lipgloss.Style
ASCII lipgloss.Style
Border lipgloss.Style
Container lipgloss.Style
}
Styles contains lipgloss styles for the theme
Click to show internal directories.
Click to hide internal directories.