Skip to content

[FEATURE] Proposing Matugen preference, Text Editor choices, and Launcher selection for settings.json #1736

Description

@tetam01

Is your feature request related to a problem? Please describe.

The settings app currently does not expose UI options for configuring the Matugen color extraction preference, choosing default text editors (GUI/CLI), or selecting the system launcher (switching between Rofi and Walker). I have implemented and tested these settings locally in my setup, and they work perfectly. I would like to propose these changes to be integrated upstream.

Describe the solution you'd like

I would suggest adding these settings to the default settings.json of the Settings App to allow configuring them directly via the menu:

  1. Matugen Color Preference (under "Appearance" group):
    {
    "name": "Matugen Color Preference",
    "id": "matugen_prefer",
    "instructions": "Select your preferred color scheme extraction logic:",
    "file": "/.config/ml4w/settings/matugen-prefer",
    "type": "choose",
    "mode": "overwrite",
    "default": "saturation",
    "options": [
    "saturation",
    "darkness",
    "lightness",
    "less-saturation",
    "value",
    "closest-to-fallback"
    ],
    "post_command": "
    /.config/ml4w/scripts/ml4w-wallpaper $(cat ~/.cache/ml4w/hyprland-dotfiles/current_wallpaper) --skip"
    }
  2. Default GUI and CLI Text Editors (under "Default Apps" group):
    {
    "name": "Default GUI Text Editor",
    "id": "default_gui_editor",
    "instructions": "Select your preferred GUI text editor",
    "file": "~/.config/ml4w/settings/editor.sh",
    "type": "choose",
    "mode": "overwrite",
    "default": "gnome-text-editor",
    "options": ["gnome-text-editor", "gedit"]
    }
  3. System Launcher (under "Default Apps" group):
    {
    "name": "Launcher",
    "id": "system_launcher",
    "instructions": "Please select the launcher. Walker needs to be installed separately.",
    "file": "~/.config/ml4w/settings/launcher",
    "type": "choose",
    "mode": "overwrite",
    "default": "rofi",
    "options": ["rofi", "walker"]
    }

Describe alternatives you've considered

I can continue maintaining these additions locally in my custom configuration folder, but merging them upstream would benefit the project by expanding default settings coverage out-of-the-box.

Additional context

Placing the "Launcher" selection under the "Default Apps" group is highly intuitive, as it fits naturally alongside settings for the default browser, terminal, and file manager.

Support or Contribution

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions