how tf did i broke this lol
This commit is contained in:
parent
2a0682e293
commit
d46f900c43
4
main.go
4
main.go
@ -512,7 +512,7 @@ func getTerminal() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getDE() string {
|
func getDE() string {
|
||||||
de := os.Getenv("DESKTOP_SESSION")
|
de := os.Getenv("XDG_CURRENT_DESKTOP")
|
||||||
if de == "" {
|
if de == "" {
|
||||||
return "Unknown or w/o GUI"
|
return "Unknown or w/o GUI"
|
||||||
}
|
}
|
||||||
@ -543,7 +543,7 @@ func main() {
|
|||||||
conf, _ := initConfig()
|
conf, _ := initConfig()
|
||||||
|
|
||||||
if len(conf.Layout) == 0 {
|
if len(conf.Layout) == 0 {
|
||||||
conf.Layout = []string{"host","dist", "cpu", "ram", "shell", "uptime"}
|
conf.Layout = []string{"host", "dist", "cpu", "ram", "shell", "uptime"}
|
||||||
fmt.Println("Warning: No layout specified in config, using default")
|
fmt.Println("Warning: No layout specified in config, using default")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user