prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.94k stars 830 forks source link

Enhancement: Merging waybar modules to a single template #955

Open mislah opened 7 months ago

mislah commented 7 months ago

As waybar/modules directory contains small but a number of files, it would be better to create a single template file for managing the modules from which the config.jsonc would be generated.

image See the waybar directory structure on the left side and the merged modules as a template in the editor

It looks cleaner and less error prone as most of the IDEs tries to format the partial json files and report unnecessary errors and warnings. It is more easier to maintain as well as all the modules are at a single template file.

image

If you all think this to be implemented, consider assigning me as I already have the working version at my local.

Enigma1309 commented 7 months ago

i think we don't need to change this as it's already better to manage, it separately, nvim users might understand why it's better to break config in multi files rather than one