mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-18 00:42:46 +02:00
Add dwl/window module
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#endif
|
||||
#ifdef HAVE_DWL
|
||||
#include "modules/dwl/tags.hpp"
|
||||
#include "modules/dwl/window.hpp"
|
||||
#endif
|
||||
#ifdef HAVE_HYPRLAND
|
||||
#include "modules/hyprland/language.hpp"
|
||||
@@ -187,6 +188,9 @@ waybar::AModule* waybar::Factory::makeModule(const std::string& name,
|
||||
if (ref == "dwl/tags") {
|
||||
return new waybar::modules::dwl::Tags(id, bar_, config_[name]);
|
||||
}
|
||||
if (ref == "dwl/window") {
|
||||
return new waybar::modules::dwl::Window(id, bar_, config_[name]);
|
||||
}
|
||||
#endif
|
||||
#ifdef HAVE_HYPRLAND
|
||||
if (ref == "hyprland/window") {
|
||||
|
Reference in New Issue
Block a user