aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-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