From d1c3bbd1530a97f9cedb56770e67be46b9f161c7 Mon Sep 17 00:00:00 2001 From: Don Williams Date: Mon, 24 Aug 2026 18:45:54 -0400 Subject: Fixed Float-all-Windows in LUA workflow Signed-off-by: Don Williams On branch development Your branch is up to date with 'origin/development'. Changes to be committed: modified: CHANGELOG.md modified: config/hypr/scripts/Float-all-Windows.sh --- config/hypr/scripts/Float-all-Windows.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/Float-all-Windows.sh b/config/hypr/scripts/Float-all-Windows.sh index 1f754ec5..025df633 100755 --- a/config/hypr/scripts/Float-all-Windows.sh +++ b/config/hypr/scripts/Float-all-Windows.sh @@ -23,9 +23,9 @@ ws=$(hyprctl activeworkspace -j | jq -r .id) # Process all windows on the current workspace if [[ "$hypr_config_mode" == "lua" ]]; then - # In Lua mode, use the native Lua API via hl.dispatch to ensure compatibility + # In Lua mode, use the native Lua API via hl.dsp.window.float hyprctl clients -j | jq -r --arg ws "$ws" '.[] | select(.workspace.id == ($ws|tonumber)) | .address' | while read -r addr; do - hyprctl dispatch "hl.dispatch(hl.dsp.window.float({ window = \"address:${addr}\", action = \"toggle\" }))" >/dev/null 2>&1 + hyprctl dispatch "hl.dsp.window.float({ window = 'address:${addr}', action = 'toggle' })" >/dev/null 2>&1 done else # Legacy Hyprlang mode -- cgit v1.2.3