From f0756d4d4c16e4d0522c28497e0f9a8b9fd36e95 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Wed, 10 May 2023 08:01:55 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9=C3=A9criture=20du=20script=20pour=20swa?= =?UTF-8?q?pper=20les=20espaces=20de=20travail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/hyprland-swap_workspaces | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/hyprland-swap_workspaces b/bin/hyprland-swap_workspaces index d352794..5dbc11f 100755 --- a/bin/hyprland-swap_workspaces +++ b/bin/hyprland-swap_workspaces @@ -1,4 +1,3 @@ #!/bin/sh -monitors="$(hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs)" -hyprctl dispatch swapactiveworkspaces $monitors +hyprctl monitors | awk '($1 == "Monitor") { print $2 }' | xargs hyprctl dispatch swapactiveworkspaces