Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
T
tuneit
  • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Ximper Linux
  • tuneit
  • Merge Requests
  • !3

Merged
Opened Jan 18, 2026 by Kirill Unitsaev@fiersik 
  • Report abuse
Report abuse

sections: init dynamic section

Новая секция формирует список настроек на основе JSON-вывода команды, указанной в generator_command. Шаблон для каждого элемента задаётся через setting_template.

Пример:

    - name: "User modules"
      weight: 0
      page: Hyprland
      type: dynamic
      generator_command: "ximperconf hyprland module info -u -o json"
      setting_template:
        name: "{name}"
        type: boolean
        get_command: "ximperconf hyprland module status -u {name} | grep -Eq '^(enabled|missing)$' && echo True || echo False"
        set_command: "ximperconf hyprland module toggle -u {name}"
  • Discussion 0
  • Commits 1
  • Changes 5
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Roman Alifanov @ximper

    merged

    · Jan 18, 2026

    merged

    merged
    Toggle commit list
  • Roman Alifanov @ximper

    mentioned in commit 244440d3

    · Jan 18, 2026

    mentioned in commit 244440d3

    mentioned in commit 244440d39bcdec9ed311716ba42b42ec7b36a580
    Toggle commit list
  • Write
  • Preview
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 sign in to comment
Assignee
No assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: ximperlinux/tuneit!3

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.