Closed F5T3 closed 2 months ago
window
is a window type param:
The wiki is well documented, and you should reaad it carefully.
not found cuz you didn't prefix the address with address:
Oh thanks for explaining this to me. But how would I move all windows from a workspace to another one, like said in the title?
Cuz I want to make a interact with widgets and desktop shortcut (using a bash script)
Thx if anyone could help
parse hyprctl clients
(probably add -j
and parse the json)
Every window will have a workspace field. Get the addresses and just hyprctl --batch 'dispatch movetoworkspace special:hidden,address:0x.... ; dispatch movetoworkspace special:hidden,address:0x.... ; ...'
Already reported ? *
Regression?
No
System Info and Version
System/Version info
Hyprland, built from branch main at commit 9b54342baa27d8de0460e1103ec4c3cc65592ed8 (Revert syncobj: wait for deadline instead of available). Date: Tue Sep 3 14:47:34 2024 Tag: v0.42.0-113-g9b54342b, commits: 5182 flags: (if any) System Information: System name: Linux Node name: IuseArchBTW Release: 6.10.7-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Thu, 29 Aug 2024 16:48:57 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD104 [GeForce RTX 4070 SUPER] [10de:2783] (rev a1) (prog-if 00 [VGA controller]) 0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 560.35.03 Fri Aug 16 21:39:15 UTC 2024 os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo ```shDescription
I am trying to move all windows from a workspace, so I am trying to use the "movetoworkspace" dispatcher. And it is only moving the active window, or the first window of the second workspace. And now I am wondering how the fuck I should do this, I also forgot to mention, that when I try to add a window pid, id or address it says Window not found
My English isn't the best so... yea sorry for any misplaced commas and other mistakes
How to reproduce
hyprctl dispatch movetoworkspace special:hidden,
or for the second workspace thing
hyprctl dispatch movetoworkspace special:hidden
Crash reports, logs, images, videos