Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.72k stars 710 forks source link

file reading error while running waybar #3152

Open aymaneallaoui opened 7 months ago

aymaneallaoui commented 7 months ago

when i run waybar i get this error [2024-04-20 18:42:47.646] [error] basic_filebuf::underflow error reading the file: Is a directory

this is the trace log :

[2024-04-20 18:44:22.874] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config
[2024-04-20 18:44:22.874] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/config.jsonc
[2024-04-20 18:44:22.874] [debug] Try expanding: $HOME/.config/waybar/config
[2024-04-20 18:44:22.874] [debug] Found config file: $HOME/.config/waybar/config
[2024-04-20 18:44:22.874] [info] Using configuration file /home/aymane/.config/waybar/config
[2024-04-20 18:44:22.875] [info] Including resource file: ~/.config/waybar/modules
[2024-04-20 18:44:22.875] [debug] Try expanding: ~/.config/waybar/modules
[2024-04-20 18:44:22.875] [debug] Found config file: ~/.config/waybar/modules
[2024-04-20 18:44:22.875] [error] basic_filebuf::underflow error reading the file: Is a directory
RobertMueller2 commented 5 months ago

Are you using an include configuration option in your waybar config, perhaps pointing to a directory? As it is right now and according to the manpage, include only works with files.