aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rwxr-xr-xconfig/hypr/scripts/Float-all-Windows.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 75234ee2..2c060da0 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -35,6 +35,7 @@
## Fixed:
+- `Float-all-windows.sh` in LUA mode
- Typo in change starship prompt menu
- Extra `read` in `build-awww.sh`
- `Toggle-Active-Windown-Audio.sh`
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