diff options
Diffstat (limited to 'config/hypr/scripts/Float-all-Windows.sh')
| -rwxr-xr-x | config/hypr/scripts/Float-all-Windows.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config/hypr/scripts/Float-all-Windows.sh b/config/hypr/scripts/Float-all-Windows.sh new file mode 100755 index 00000000..e658cabb --- /dev/null +++ b/config/hypr/scripts/Float-all-Windows.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +# ================================================== +# KoolDots (2026) +# Project URL: https://github.com/LinuxBeginnings +# License: GNU GPLv3 +# SPDX-License-Identifier: GPL-3.0-or-later +# ================================================== + +ws=$(hyprctl activeworkspace -j | jq -r .id) +hyprctl clients -j | jq -r --arg ws "$ws" '.[] | select(.workspace.id == ($ws|tonumber)) | .address' | xargs -r -I {} hyprctl dispatch togglefloating address:{} |
