diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-05-15 15:13:38 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-05-15 15:13:38 +0200 |
commit | caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc (patch) | |
tree | 803985268d4736abca2704412d2ecb192132d664 /accounts | |
parent | 42b152de6aef86f94e825062a68655305b986b0c (diff) | |
download | nixos-caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc.tar nixos-caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc.tar.gz nixos-caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc.tar.bz2 nixos-caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc.tar.xz nixos-caf7ef8b2f8a5e077da37dbf5c2bcdfa951e77fc.zip |
...flakes
Diffstat (limited to 'accounts')
-rw-r--r-- | accounts/gkleen@sif/niri/default.nix | 4 |
1 files 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 | |||
83 | }; | 83 | }; |
84 | with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^${lib.concatMapStringsSep "|" ({ name, ...}: name) cfg.scratchspaces}$"; | 84 | with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^${lib.concatMapStringsSep "|" ({ name, ...}: name) cfg.scratchspaces}$"; |
85 | focus-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; | 85 | focus-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; |
86 | move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}''; | 86 | move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}, "focus": true}}}''; |
87 | 87 | ||
88 | with_unnamed_workspace = pkgs.writeShellApplication { | 88 | with_unnamed_workspace = pkgs.writeShellApplication { |
89 | name = "with-unnamed-workspace"; | 89 | name = "with-unnamed-workspace"; |
@@ -861,7 +861,7 @@ in { | |||
861 | "Mod+Shift+Asterisk".action = kdl.magic-leaf "move-column-to-workspace" "vid"; | 861 | "Mod+Shift+Asterisk".action = kdl.magic-leaf "move-column-to-workspace" "vid"; |
862 | 862 | ||
863 | "Mod+Plus".action = with-unnamed-workspace-action ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; | 863 | "Mod+Plus".action = with-unnamed-workspace-action ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; |
864 | "Mod+Shift+Plus".action = with-unnamed-workspace-action ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}''; | 864 | "Mod+Shift+Plus".action = with-unnamed-workspace-action ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}, "focus": true}}}''; |
865 | 865 | ||
866 | "Mod+M".action = consume-or-expel-window-left; | 866 | "Mod+M".action = consume-or-expel-window-left; |
867 | "Mod+W".action = consume-or-expel-window-right; | 867 | "Mod+W".action = consume-or-expel-window-right; |