Add support for vertical bars in privacy module

This commit is contained in:
Bruno Andreotti
2025-02-07 14:39:07 -03:00
parent c32d5e3883
commit a26ed50d0f
5 changed files with 23 additions and 13 deletions

View File

@ -140,7 +140,7 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
#endif
#ifdef HAVE_PIPEWIRE
if (ref == "privacy") {
return new waybar::modules::privacy::Privacy(id, config_[name], pos);
return new waybar::modules::privacy::Privacy(id, config_[name], bar_.orientation, pos);
}
#endif
#ifdef HAVE_MPRIS