Waybar icon indicating copy to clipboard operation
Waybar copied to clipboard

file reading error while running waybar

Open aymaneallaoui opened this issue 1 year ago • 1 comments

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

aymaneallaoui avatar Apr 20 '24 17:04 aymaneallaoui

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.

RobertMueller2 avatar Jun 22 '24 12:06 RobertMueller2