[Feature Request]: port useful hyde-cli scripts
Feel free to tell me what's the most useful command hyde-cli has to offer to you
- Some hyde-cli commands are way better to be a core script in hyde.
- We will deprecate HyDE-CLI soon in favor of a newer CLI catered for HyDE. Probably call it
hydectl
theme import and SDDM selection.
update, upgrade, systeminfo, check, restore, cache
I think some features could be nice, such as:
- Install and update HyDE:
- Backup and restore
- Theme:
- Theme switching
- Select a specific theme
- Theme import
- Apps Theme:
- Change Rofi layout
- Change SDDM theme
- Feature Flags:
- Shell init: interactively choose between the Pokémon and Fastfetch options.
I also think more technical features could be useful, such as:
-
Creating a configuration file for the CLI, allowing for declarative settings. For example, when installing HyDE, the user could fill out the config file and run the install command (
hydectl install, for instance), making the process non-interactive. -
For interactive CLI choices (such as switching themes or selecting an item from a list), I suggest using fzf or gum as interactive selection tools.
A preview from a theme import script theme.import.py . This will soon replace HyDE theme import
https://github.com/user-attachments/assets/d6186f97-bbf7-4a5d-8b77-bab26e7ae4c2
I think some features could be nice, such as:
- Install and update HyDE:
- Backup and restore
- Theme:
- Theme switching
- Select a specific theme
- Theme import
- Apps Theme:
- Change Rofi layout
- Change SDDM theme
- Feature Flags:
- Shell init: interactively choose between the Pokémon and Fastfetch options.
I also think more technical features could be useful, such as:
Creating a configuration file for the CLI, allowing for declarative settings. For example, when installing HyDE, the user could fill out the config file and run the install command (
hydectl install, for instance), making the process non-interactive.For interactive CLI choices (such as switching themes or selecting an item from a list), I suggest using fzf or gum as interactive selection tools.
+1 for the declarative settings
Some updates
About declarative/reproducible installation, we need to adjust everything and the installation script is never built for this. This is planned but would take a while to implement. see https://github.com/HyDE-Project/HyDE/issues/55
I can safely say that as of the moment install.sh -r won't override anything as long as user configured it the hyde way (user config ).
edit: except fish