Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-12 19:12:29 +02:00
commit e8e64eff12
101 changed files with 10081 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
package icons
import "github.com/anotherhadi/spilltea/internal/config"
type Icons struct {
Forward string
Drop string
Edit string
Intercept string
History string
Replay string
Diff string
Request string
Response string
Plugin string
Findings string
Scope string
Detail string
Docs string
New string
Temp string
Project string
}
var I *Icons
func Init(cfg *config.Config) {
if cfg.TUI.UseNerdfontIcons {
I = &Icons{
Forward: "󰁔 ",
Drop: "󰆴 ",
Edit: "󰏫 ",
Intercept: " ",
History: "󰋚 ",
Replay: "󰑙 ",
Diff: "󰕛 ",
Request: "󰜷 ",
Response: "󰜮 ",
Plugin: " ",
Findings: "󱎸 ",
Scope: "󰓾 ",
Detail: "󰱼 ",
Docs: " ",
New: "󰐕 ",
Temp: "󰙨 ",
Project: "󰉋 ",
}
} else {
I = &Icons{}
}
}