7adc343ddbf410e01fde87ab9cb06ad728c70009

Author
outfoxxed <outfoxxed@outfoxxed.me>
Committer
outfoxxed <outfoxxed@outfoxxed.me>
Date

Message

Change dispatcher prefix from 'hy3_' to 'hy3:'

Diff

 1diff --git a/src/main.cpp b/src/main.cpp
 2index f00359d1a8d18f102107b1c0552cb226d467f0bd..5c8aa0862afe157783d3bd8340cf6b76b3c5220b 100644
 3--- a/src/main.cpp
 4+++ b/src/main.cpp
 5@@ -86,10 +86,10 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {
 6 	g_Hy3Layout = std::make_unique<Hy3Layout>();
 7 	HyprlandAPI::addLayout(PHANDLE, "hy3", g_Hy3Layout.get());
 8 
 9-	HyprlandAPI::addDispatcher(PHANDLE, "hy3_makegroup", dispatch_makegroup);
10-	HyprlandAPI::addDispatcher(PHANDLE, "hy3_movefocus", dispatch_movefocus);
11-	HyprlandAPI::addDispatcher(PHANDLE, "hy3_movewindow", dispatch_movewindow);
12-	HyprlandAPI::addDispatcher(PHANDLE, "hy3_debugnodes", dispatch_debug);
13+	HyprlandAPI::addDispatcher(PHANDLE, "hy3:makegroup", dispatch_makegroup);
14+	HyprlandAPI::addDispatcher(PHANDLE, "hy3:movefocus", dispatch_movefocus);
15+	HyprlandAPI::addDispatcher(PHANDLE, "hy3:movewindow", dispatch_movewindow);
16+	HyprlandAPI::addDispatcher(PHANDLE, "hy3:debugnodes", dispatch_debug);
17 
18 	return {"hy3", "i3 like layout for hyprland", "outfoxxed", "0.1"};
19 }