Open
Description
The need to put the absolute path becomes unbearable when you include several modules:
"include": [
"~/.config/waybar/modules/hyprland.jsonc",
"~/.config/waybar/modules/battery.jsonc",
"~/.config/waybar/modules/backlight.jsonc",
"~/.config/waybar/modules/custom-music.jsonc",
"~/.config/waybar/modules/custom-colorpicker.jsonc",
...
],
I believe that the waybar could easily assume the path based on where the config.jsonc
is being loaded and thus making it easier.
"include": [
# the waybar would be assuming that the user is referencing the modules folder which is located in the same place as config.json
"modules/hyprland.jsonc", # absolute path (~/.config/waybar/modules/hyprland.jsonc)
"modules/battery.jsonc",
"modules/backlight.jsonc",
"modules/custom-music.jsonc",
"custom-colorpicker.jsonc",
...
],