summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif/niri
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-01-27 16:53:18 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2025-01-27 16:53:18 +0100
commit730002f924999a0658a720b75bfbf080dc5c16c6 (patch)
treeb1ca937464719056d5f6fc468fdce446c0ef15d1 /accounts/gkleen@sif/niri
parent533f1f7fb6f299cff20ef11145f5041f674d116f (diff)
downloadnixos-730002f924999a0658a720b75bfbf080dc5c16c6.tar
nixos-730002f924999a0658a720b75bfbf080dc5c16c6.tar.gz
nixos-730002f924999a0658a720b75bfbf080dc5c16c6.tar.bz2
nixos-730002f924999a0658a720b75bfbf080dc5c16c6.tar.xz
nixos-730002f924999a0658a720b75bfbf080dc5c16c6.zip
...
Diffstat (limited to 'accounts/gkleen@sif/niri')
-rw-r--r--accounts/gkleen@sif/niri/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/accounts/gkleen@sif/niri/default.nix b/accounts/gkleen@sif/niri/default.nix
index bf124211..b895645e 100644
--- a/accounts/gkleen@sif/niri/default.nix
+++ b/accounts/gkleen@sif/niri/default.nix
@@ -75,7 +75,7 @@ let
75 jq --arg active_workspace "$active_workspace" -c "$action" <<<"$workspace_json" | tee /dev/stderr | socat STDIO "$NIRI_SOCKET" 75 jq --arg active_workspace "$active_workspace" -c "$action" <<<"$workspace_json" | tee /dev/stderr | socat STDIO "$NIRI_SOCKET"
76 ''; 76 '';
77 }; 77 };
78 with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^pwctl|kpxc|bmgr|edit|term$"; 78 with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^pwctl|eff|kpxc|bmgr|edit|term$";
79 focus-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}''; 79 focus-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"FocusWorkspace":{"reference":{"Id": .id}}}}'';
80 move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}''; 80 move-column-to-adjacent-workspace = direction: with-adjacent-workspace-action direction ''{"Action":{"MoveColumnToWorkspace":{"reference":{"Id": .id}}}}'';
81 81
@@ -255,6 +255,7 @@ in {
255 "003" = { name = "bmgr"; open-on-output = "eDP-1"; }; 255 "003" = { name = "bmgr"; open-on-output = "eDP-1"; };
256 "004" = { name = "term"; open-on-output = "eDP-1"; }; 256 "004" = { name = "term"; open-on-output = "eDP-1"; };
257 "005" = { name = "edit"; open-on-output = "eDP-1"; }; 257 "005" = { name = "edit"; open-on-output = "eDP-1"; };
258 "006" = { name = "eff"; open-on-output = "eDP-1"; };
258 "101".name = "comm"; 259 "101".name = "comm";
259 "102".name = "web"; 260 "102".name = "web";
260 # "104".name = "read"; 261 # "104".name = "read";
@@ -277,6 +278,11 @@ in {
277 open-maximized = true; 278 open-maximized = true;
278 } 279 }
279 { 280 {
281 matches = [ { app-id = "^com\.github\.wwmm\.easyeffects$"; } ];
282 open-on-workspace = "eff";
283 open-maximized = true;
284 }
285 {
280 matches = [ { app-id = "^\.blueman-manager-wrapped$"; } ]; 286 matches = [ { app-id = "^\.blueman-manager-wrapped$"; } ];
281 open-on-workspace = "bmgr"; 287 open-on-workspace = "bmgr";
282 open-maximized = true; 288 open-maximized = true;
@@ -600,6 +606,7 @@ in {
600 "Mod+Comma".action = spawn makoctl "restore"; 606 "Mod+Comma".action = spawn makoctl "restore";
601 607
602 "Mod+Control+A".action = focus-or-spawn-action-app_id "com.saivert.pwvucontrol" "pwctl" "pwvucontrol"; 608 "Mod+Control+A".action = focus-or-spawn-action-app_id "com.saivert.pwvucontrol" "pwctl" "pwvucontrol";
609 "Mod+Control+O".action = focus-or-spawn-action-app_id "com.github.wwmm.easyeffects" "eff" "easyeffects";
603 "Mod+Control+P".action = focus-or-spawn-action-app_id "org.keepassxc.KeePassXC" "kpxc" "keepassxc"; 610 "Mod+Control+P".action = focus-or-spawn-action-app_id "org.keepassxc.KeePassXC" "kpxc" "keepassxc";
604 "Mod+Control+B".action = focus-or-spawn-action-app_id ".blueman-manager-wrapped" "bmgr" "blueman-manager"; 611 "Mod+Control+B".action = focus-or-spawn-action-app_id ".blueman-manager-wrapped" "bmgr" "blueman-manager";
605 "Mod+Control+Return".action = focus-or-spawn-action-app_id "kitty-scratch" "term" "kitty" "--app-id" "kitty-scratch"; 612 "Mod+Control+Return".action = focus-or-spawn-action-app_id "kitty-scratch" "term" "kitty" "--app-id" "kitty-scratch";