-------------
{{if isActive "os"}}
OS:
{{.Info.OS.Distro}} {{.Info.OS.Arch}}
{{end}}
{{if isActive "kernel"}}
Kernel:
{{.Info.Kernel}}
{{end}}
{{if isActive "uptime"}}
Uptime:
{{.Info.Uptime}}
{{end}}
{{if isActive "packages"}}
Packages:
{{.Info.Packages}}
{{end}}
{{if isActive "shell"}}
Shell:
{{.Info.Shell}}
{{end}}
{{if isActive "resolution"}}
Resolution:
{{.Info.Resolution}}
{{end}}
{{if isActive "de"}}
DE:
{{.Info.DE}}
{{end}}
{{if isActive "wm"}}
WM:
{{.Info.WM}}
{{if and (ne .Info.WMTheme "Unknown") (ne .Info.WMTheme "")}}
WM Theme:
{{.Info.WMTheme}}
{{end}}
{{end}}
{{if isActive "theme"}}
Theme:
{{.Info.Theme}}
{{end}}
{{if isActive "icons"}}
Icons:
{{.Info.Icons}}
{{end}}
{{if isActive "terminal"}}
Terminal:
{{.Info.Terminal}}
{{end}}
{{if isActive "cpu"}}
{{if .Info.CPU}}
CPU:
{{.Info.CPU.Name}} ({{.Info.CPU.CoresLogical}}) @ {{formatFreq .Info.CPU.FrequencyMax}}
{{end}}
{{end}}
{{if isActive "gpu"}}
GPU:
{{.Info.GPU}}
{{end}}
{{if isActive "memory"}}
{{if .Info.Memory}}
{{if gt .Info.Memory.Total 0}}
Memory:
{{formatDiskSize .Info.Memory.Used}}
/ {{formatDiskSize .Info.Memory.Total}}
({{memoryPercent .Info.Memory}}%)
{{end}}
{{end}}
{{end}}
{{if isActive "disk"}}
{{if .Info.Disks}}
{{range $index, $disk := sortDisks .Info.Disks}}
Disk ({{$disk.Mountpoint}}):
{{formatDiskSize $disk.Used}}
/ {{formatDiskSize $disk.Total}}
({{printf "%.0f" $disk.UsedPercent}}%)
- {{$disk.FSType}}
{{end}}
{{else if .Info.Disk}}
{{if gt .Info.Disk.Total 0}}
Disk ({{if .Info.Disk.Mountpoint}}{{.Info.Disk.Mountpoint}}{{else}}/{{end}}):
{{formatDiskSize .Info.Disk.Used}}
/ {{formatDiskSize .Info.Disk.Total}}
({{printf "%.0f" .Info.Disk.UsedPercent}}%)
{{if .Info.Disk.FSType}}- {{.Info.Disk.FSType}}{{end}}
{{end}}
{{end}}
{{end}}
{{if isActive "swap"}}
{{if and .Info.Swap (gt .Info.Swap.Total 0)}}
Swap:
{{formatDiskSize .Info.Swap.Used}}
/ {{formatDiskSize .Info.Swap.Total}}
({{swapPercent .Info.Swap}}%)
{{end}}
{{end}}
{{if isActive "battery"}}
{{if .Info.Battery}}
Battery:
{{printf "%.0f" .Info.Battery.Percentage}}%
({{.Info.Battery.Status}})
{{end}}
{{end}}
{{if isActive "locale"}}
Locale:
{{.Info.Locale}}
{{end}}
{{if isActive "hostinfo"}}
{{if .Info.HostInfo}}
{{$hostStr := hostInfoStr .Info.HostInfo}}
{{if $hostStr}}
Host:
{{$hostStr}}
{{end}}
{{end}}
{{end}}
{{if isActive "bios"}}
{{if .Info.BIOS}}
{{$biosStr := biosStr .Info.BIOS}}
{{if $biosStr}}
BIOS:
{{$biosStr}}
{{end}}
{{end}}
{{end}}
{{if isActive "loginmanager"}}
{{if and .Info.LoginManager (ne .Info.LoginManager "Unknown")}}
LM:
{{.Info.LoginManager}}
{{end}}
{{end}}
{{if isActive "processes"}}
{{if gt .Info.Processes 0}}
Processes:
{{.Info.Processes}}
{{end}}
{{end}}
{{if isActive "cpuusage"}}
{{if gt .Info.CPUUsage 0.0}}
CPU Usage:
{{printf "%.1f" .Info.CPUUsage}}%
{{end}}
{{end}}
{{if isActive "brightness"}}
{{if .Info.Brightness}}
Brightness:
{{.Info.Brightness.Current}}%
{{end}}
{{end}}
{{if isActive "wifi"}}
{{if .Info.Wifi}}
{{$wifiStr := wifiStr .Info.Wifi}}
{{if $wifiStr}}
WiFi:
{{$wifiStr}}
{{if gt .Info.Wifi.Strength 0}}
({{.Info.Wifi.Strength}}%)
{{end}}
{{end}}
{{end}}
{{end}}
{{if isActive "publicip"}}
{{if .Info.PublicIP}}
Public IP:
{{.Info.PublicIP}}
{{end}}
{{end}}
{{if isActive "users"}}
{{if .Info.Users}}
{{range $index, $user := .Info.Users}}
{{if eq $index 0}}
Users:
{{else}}
{{end}}
{{$user.Name}}{{if $user.Terminal}}@{{$user.Terminal}}{{end}}
{{if $user.LoginTime}}- {{$user.LoginTime}}{{end}}
{{end}}
{{end}}
{{end}}
{{if isActive "datetime"}}
{{if .Info.DateTime}}
Date & Time:
{{.Info.DateTime}}
{{end}}
{{end}}