feat(river): set layout name as class

This allows for custom styling for specific river layouts (such as monocle).
This commit is contained in:
Maarten van Gompel
2025-04-26 13:10:42 +02:00
parent cae5f9a56f
commit 04796988e9
3 changed files with 10 additions and 1 deletions

View File

@ -24,6 +24,7 @@ class Layout : public waybar::ALabel {
private:
const waybar::Bar &bar_;
std::string name_;
struct wl_output *output_; // stores the output this module belongs to
struct wl_output *focused_output_; // stores the currently focused output
struct zriver_output_status_v1 *output_status_;