forked from quickshell/quickshell
hyprland/focus_grab: add HyprlandFocusGrab
This commit is contained in:
parent
e7cfb5cf37
commit
87a884ca36
15 changed files with 607 additions and 0 deletions
20
src/wayland/hyprland/focus_grab/init.cpp
Normal file
20
src/wayland/hyprland/focus_grab/init.cpp
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#include <qqml.h>
|
||||
|
||||
#include "../../../core/plugin.hpp"
|
||||
|
||||
namespace {
|
||||
|
||||
class HyprlandFocusGrabPlugin: public QuickshellPlugin {
|
||||
void registerTypes() override {
|
||||
qmlRegisterModuleImport(
|
||||
"Quickshell.Hyprland",
|
||||
QQmlModuleImportModuleAny,
|
||||
"Quickshell.Hyprland._FocusGrab",
|
||||
QQmlModuleImportLatest
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
QS_REGISTER_PLUGIN(HyprlandFocusGrabPlugin);
|
||||
|
||||
} // namespace
|
||||
Loading…
Add table
Add a link
Reference in a new issue