aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Float-all-Windows.sh
diff options
context:
space:
mode:
authorDon Williams <don.e.williams@gmail.com>2026-08-24 18:45:54 -0400
committerPinapelz <yukais@pinapelz.com>2026-08-29 21:41:34 -0700
commitd1c3bbd1530a97f9cedb56770e67be46b9f161c7 (patch)
treea976be77973ace3f36d00476a500b6da51c0d817 /config/hypr/scripts/Float-all-Windows.sh
parenta52489b39c4783a1b9ec3c421650e2cdf82e58d9 (diff)
Fixed Float-all-Windows in LUA workflow
Signed-off-by: Don Williams <don.e.williams@gmail.com> 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
Diffstat (limited to 'config/hypr/scripts/Float-all-Windows.sh')
-rwxr-xr-xconfig/hypr/scripts/Float-all-Windows.sh4
1 files changed, 2 insertions, 2 deletions
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage