From c817a13e220c2fd418df24d41a99aeb35f3154eb Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 26 Jan 2025 13:27:10 +0100 Subject: bump --- accounts/gkleen@sif/niri/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif/niri') diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix index 2e9b6909..93acc7d7 100644 --- a/accounts/gkleen@sif/niri/default.nix +++ b/accounts/gkleen@sif/niri/default.nix @@ -22,9 +22,9 @@ let active_workspace="$(jq -r --arg workspace_output "$workspace_output" '.[] | select(.output == $workspace_output and .is_active) | .id' <<<"$workspaces_json")" active_output="$(jq -r '.[] | select(.is_focused) | .output' <<<"$workspaces_json")" if [[ $workspace_output != "$active_output" ]]; then - niri msg action move-workspace-to-monitor --output "$active_output" "$workspace_name" - socat STDIO "$NIRI_SOCKET" <<<'{"Action":{"FocusWorkspace":{"reference":{"Id":'"''${active_workspace}"'}}}}' - niri msg action move-workspace-to-index --index 1 "$workspace_name" + niri msg action move-workspace-to-monitor --reference "$workspace_name" "$active_output" + # socat STDIO "$NIRI_SOCKET" <<<'{"Action":{"FocusWorkspace":{"reference":{"Id":'"''${active_workspace}"'}}}}' + # niri msg action move-workspace-to-index --reference "$workspace_name" 1 fi while IFS=$'\n' read -r window_json; do -- cgit v1.2.3