Commit d4a24afc authored by Kirill Unitsaev's avatar Kirill Unitsaev

preset: move Result struct from config to preset package

parent 8dd34959
......@@ -78,16 +78,6 @@ type Presets struct {
Profiles map[string]PresetProfile `yaml:"profiles"`
}
type PresetResult struct {
Links []string
Copies []string
Replaced []string
HyprVars []string
HyprModules []string
SyncSystemLayouts []string
System []string
}
func loadPresetConfig(dir string) (*Presets, error) {
cfg := &Presets{Profiles: map[string]PresetProfile{}}
......
package preset
import "ximperconf/ui"
type Result struct {
Copies []ui.TreeItem
Links []ui.TreeItem
Replaced []ui.TreeItem
System []ui.TreeItem
HyprVars []ui.TreeItem
HyprModules []ui.TreeItem
SyncSystemLayouts []ui.TreeItem
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment