We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0620a71 commit aca36abCopy full SHA for aca36ab
main/bai.go
@@ -4,6 +4,7 @@ import (
4
"baturax/mods"
5
"fmt"
6
"math/rand"
7
+ "os"
8
)
9
10
func main() {
@@ -48,14 +49,21 @@ func colors() []string {
48
49
}
50
51
func icons() []string {
- return []string{
52
+
53
+ lol := []string{
54
mods.GetUser(),
55
mods.GetSystem(),
56
mods.GetKernel(),
57
mods.GetMem(),
58
mods.GetUptime(),
59
mods.GetShell(),
60
mods.GetDesktop(),
- mods.GetPackages(),
61
62
63
+ if os.Getenv("SHOW_PACKAGES") == "yes" {
64
+ lol = append(lol, mods.GetPackages())
65
+ }
66
67
+ return lol
68
69
0 commit comments