Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximperconf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximperconf
Commits
d4a24afc
Commit
d4a24afc
authored
Jan 13, 2026
by
Kirill Unitsaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preset: move Result struct from config to preset package
parent
8dd34959
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
presets.go
config/presets.go
+0
-10
result.go
preset/result.go
+13
-0
No files found.
config/presets.go
View file @
d4a24afc
...
...
@@ -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
{}}
...
...
preset/result.go
0 → 100644
View file @
d4a24afc
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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment