Files
settuings/internal/icons/icons.go
T
2026-08-13 12:10:09 +02:00

58 lines
880 B
Go

package icons
import "github.com/anotherhadi/settuings/internal/config"
type Icons struct {
Edit string
Reload string
Add string
About string
Network string
Bluetooth string
Audio string
Power string
Wifi string
Ethernet string
VPN string
Check string
Lock string
Output string
Input string
Apps string
Battery string
}
var I *Icons
func Init(cfg *config.Config) {
if cfg.TUI.UseNerdfontIcons {
I = &Icons{
Edit: "󰏫 ",
Reload: "󰑙 ",
Add: "󰐕 ",
About: " ",
Network: "󰛳 ",
Bluetooth: "󰂯 ",
Audio: "󰓃 ",
Power: "󰐥 ",
Wifi: "󰤨 ",
Ethernet: "󰈀 ",
VPN: "󰖂 ",
Check: "󰄬 ",
Lock: "󰌾 ",
Output: "󰕾 ",
Input: "󰍬 ",
Apps: "󰀻 ",
Battery: "󰁹 ",
}
} else {
I = &Icons{}
}
}