aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-16 10:43:39 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commit12c6f2952ed366ab43f3a7c3bd8fc59a18407b93 (patch)
tree4f21f2e6581acaee0b63560069f6f89edd64437b
parent22013d3e7aaa3a26710d78aae4cda44b59e20f9b (diff)
Fixed toggleSplit layout in LUA workflow
Signed-off-by: Don Williams <don.e.williams@gmail.com> Changes to be committed: modified: CHANGELOG.md modified: config/hypr/configs/system_keybinds.lua modified: config/hypr/lua/keybind_helpers.lua modified: config/hypr/lua/user_keybinds_helper.lua
-rw-r--r--CHANGELOG.md1
-rw-r--r--config/hypr/configs/system_keybinds.lua9
-rw-r--r--config/hypr/lua/keybind_helpers.lua5
-rw-r--r--config/hypr/lua/user_keybinds_helper.lua9
4 files changed, 23 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c3daa5dc..5c8139f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -40,6 +40,7 @@
## Fixed:
+- `togglesplit` in LUA workflow
- Waybar doesn't restart after Dark/Light theme in Debian
- Thanks to @tomirgang for the fix
- Not all waybar clocks togggled from 12hr/24hr correctly
diff --git a/config/hypr/configs/system_keybinds.lua b/config/hypr/configs/system_keybinds.lua
index dd654ccd..3db2a6ac 100644
--- a/config/hypr/configs/system_keybinds.lua
+++ b/config/hypr/configs/system_keybinds.lua
@@ -216,6 +216,15 @@ local function dispatch(name, args)
hl.dispatch(window_api.float({ action = "toggle" }))
end
end
+ if name == "pseudo" and window_api.pseudo then
+ return window_api.pseudo()
+ end
+ if (name == "layoutmsg" or name == "layout") and dsp and dsp.layout then
+ return dsp.layout(args)
+ end
+ if name == "togglesplit" and dsp and dsp.layout then
+ return dsp.layout("togglesplit")
+ end
if name == "resizewindow" and window_api.resize then
return window_api.resize()
end
diff --git a/config/hypr/lua/keybind_helpers.lua b/config/hypr/lua/keybind_helpers.lua
index 1b1a269b..b7f80127 100644
--- a/config/hypr/lua/keybind_helpers.lua
+++ b/config/hypr/lua/keybind_helpers.lua
@@ -206,9 +206,12 @@ local function dispatch(name, args)
if name == "moveoutofgroup" and window_api.move then
return window_api.move({ out_of_group = true })
end
- if name == "layoutmsg" and dsp and dsp.layout then
+ if (name == "layoutmsg" or name == "layout") and dsp and dsp.layout then
return dsp.layout(args)
end
+ if name == "togglesplit" and dsp and dsp.layout then
+ return dsp.layout("togglesplit")
+ end
if name == "bringactivetotop" and window_api.bring_to_top then
return window_api.bring_to_top()
end
diff --git a/config/hypr/lua/user_keybinds_helper.lua b/config/hypr/lua/user_keybinds_helper.lua
index aabb5f03..0cb786f2 100644
--- a/config/hypr/lua/user_keybinds_helper.lua
+++ b/config/hypr/lua/user_keybinds_helper.lua
@@ -207,6 +207,15 @@ local function dispatch(name, args)
if name == "togglefloating" and window_api.float then
return function() hl.dispatch(window_api.float({ action = "toggle" })) end
end
+ if name == "pseudo" and window_api.pseudo then
+ return window_api.pseudo()
+ end
+ if (name == "layoutmsg" or name == "layout") and dsp and dsp.layout then
+ return dsp.layout(args)
+ end
+ if name == "togglesplit" and dsp and dsp.layout then
+ return dsp.layout("togglesplit")
+ end
if name == "resizewindow" and window_api.resize then
return window_api.resize()
end
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage