This commit is contained in:
Hadi
2026-08-27 23:14:56 +02:00
commit e9c2a59ee5
41 changed files with 3680 additions and 0 deletions
+87
View File
@@ -0,0 +1,87 @@
package icons
import (
"github.com/anotherhadi/ilovetui/style"
)
type Icons struct {
Settings string
Vpn string
SecureCore string
Tor string
P2p string
Free string
Fastest string
Random string
Connected string
Disconnected string
Connecting string
Loading string
Country string
City string
Server string
Expanded string
Collapsed string
Favorite string
Search string
Load string
PillLeft string
PillRight string
}
var I *Icons
func Init() {
if style.S.NerdFonts {
I = &Icons{
Settings: "",
Vpn: "",
SecureCore: "",
Tor: "",
P2p: "",
Free: "",
Fastest: "",
Random: "",
Connected: "",
Disconnected: "",
Connecting: "",
Loading: "",
Country: "",
City: "",
Server: "",
Expanded: "",
Collapsed: "",
Favorite: "",
Search: "",
Load: "",
PillLeft: "",
PillRight: "",
}
} else {
I = &Icons{
Connected: "●",
Disconnected: "○",
Connecting: "…",
Loading: "…",
Expanded: "v",
Collapsed: ">",
Favorite: "*",
Search: "/",
}
}
}