end-4 / dots-hyprland

Modern, feature-rich and accessible desktop configuration.
https://end-4.github.io/dots-hyprland-wiki/en/
GNU General Public License v3.0
3.34k stars 218 forks source link

[Issue] No bars after latest update #388

Closed Yasuhan closed 3 months ago

Yasuhan commented 3 months ago
Click to expand ```plain Gjs-Console-Message: 13:34:26.346: [LOG] Styles loaded (com.github.Aylur.ags:3234): Gjs-WARNING **: 13:34:26.483: Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise: Bar@file:///home/AAA/.config/ags/modules/bar/main.js:37:26 forMonitors@file:///home/AAA/.config/ags/config.js:26:24 @file:///home/AAA/.config/ags/config.js:73:12 _init/GLib.MainLoop.prototype.runAsync/
end-4 commented 3 months ago

can you update the config then try again and send the output? i just added proper error logging for the bar in ea514e9a85778e9f006e4545d1844951e8741ca5

Yasuhan commented 3 months ago

Okay, managed to fix it through that. For some reason not all of my config files got properly updated and thus there was a reference error that I was only able to see with the latest commit.

ReferenceError: OptionalWindowTitleInstance is not defined

Managed to sort that out myself now.

Interestingly with 'forMonitorsAsync(Bar);', all 3 bars will appear on the same monitor - so I changed it back to the prior thing now.