added output-dimensions option

This commit is contained in:
Ryan Gibb
2026-07-04 01:22:01 +02:00
committed by Alex
parent e36824e7be
commit d3ef76ccbc
7 changed files with 90 additions and 19 deletions
+2
View File
@@ -24,6 +24,8 @@ struct waybar_output {
Glib::RefPtr<Gdk::Monitor> monitor;
std::string name;
std::string identifier;
int32_t width;
int32_t height;
std::unique_ptr<struct zxdg_output_v1, decltype(&zxdg_output_v1_destroy)> xdg_output = {
nullptr, &zxdg_output_v1_destroy};