add move window to hyprland service
This commit is contained in:
20
src/widgets/controlCenter/controlCenter.cpp
Normal file
20
src/widgets/controlCenter/controlCenter.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "widgets/controlCenter/controlCenter.hpp"
|
||||
|
||||
|
||||
ControlCenter::ControlCenter(std::string icon, std::string name)
|
||||
: Popover(icon, name) {
|
||||
this->popover->add_css_class("control-center-popover");
|
||||
this->container.set_orientation(Gtk::Orientation::VERTICAL);
|
||||
this->container.set_spacing(0);
|
||||
this->container.set_margin_top(0);
|
||||
this->container.set_margin_bottom(0);
|
||||
this->container.set_margin_start(0);
|
||||
this->container.set_margin_end(0);
|
||||
|
||||
set_popover_child(this->container);
|
||||
|
||||
|
||||
this->container.append(this->mediaControlWidget);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user