From caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 15 May 2025 15:13:38 +0200 Subject: ... --- accounts/gkleen@sif/niri/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix index 0fae56a7..09482c51 100644 --- a/accounts/gkleen@sif/niri/default.nix +++ b/accounts/gkleen@sif/niri/default.nix @@ -83,7 +83,7 @@ let }; with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^${lib.concatMapStringsSep "|" ({ name, ...}: name) cfg.scratchspaces}$"; focus-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; - move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}''; + move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}, "focus": true}}}''; with_unnamed_workspace = pkgs.writeShellApplication { name = "with-unnamed-workspace"; @@ -861,7 +861,7 @@ in { "Mod+Shift+Asterisk".action = kdl.magic-leaf "move-column-to-workspace" "vid"; "Mod+Plus".action = with-unnamed-workspace-action ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; - "Mod+Shift+Plus".action = with-unnamed-workspace-action ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}''; + "Mod+Shift+Plus".action = with-unnamed-workspace-action ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}, "focus": true}}}''; "Mod+M".action = consume-or-expel-window-left; "Mod+W".action = consume-or-expel-window-right; -- cgit v1.2.3