package xrandr import ( "fmt" "testing" ) func TestConfig(t *testing.T) { configs, err := GetCurrentConfig() if err != nil { panic(err) } for _, config := range configs.Displays { fmt.Println(config) } }