From 730002f924999a0658a720b75bfbf080dc5c16c6 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Jan 2025 16:53:18 +0100 Subject: ... --- accounts/gkleen@sif/niri/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@sif/niri/default.nix') 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 jq --arg active_workspace "$active_workspace" -c "$action" <<<"$workspace_json" | tee /dev/stderr | socat STDIO "$NIRI_SOCKET" ''; }; - with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^pwctl|kpxc|bmgr|edit|term$"; + with-adjacent-workspace-action = config.lib.niri.actions.spawn (lib.getExe with_adjacent_workspace) "^pwctl|eff|kpxc|bmgr|edit|term$"; 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}}}}''; @@ -255,6 +255,7 @@ in { "003" = { name = "bmgr"; open-on-output = "eDP-1"; }; "004" = { name = "term"; open-on-output = "eDP-1"; }; "005" = { name = "edit"; open-on-output = "eDP-1"; }; + "006" = { name = "eff"; open-on-output = "eDP-1"; }; "101".name = "comm"; "102".name = "web"; # "104".name = "read"; @@ -276,6 +277,11 @@ in { open-on-workspace = "pwctl"; open-maximized = true; } + { + matches = [ { app-id = "^com\.github\.wwmm\.easyeffects$"; } ]; + open-on-workspace = "eff"; + open-maximized = true; + } { matches = [ { app-id = "^\.blueman-manager-wrapped$"; } ]; open-on-workspace = "bmgr"; @@ -600,6 +606,7 @@ in { "Mod+Comma".action = spawn makoctl "restore"; "Mod+Control+A".action = focus-or-spawn-action-app_id "com.saivert.pwvucontrol" "pwctl" "pwvucontrol"; + "Mod+Control+O".action = focus-or-spawn-action-app_id "com.github.wwmm.easyeffects" "eff" "easyeffects"; "Mod+Control+P".action = focus-or-spawn-action-app_id "org.keepassxc.KeePassXC" "kpxc" "keepassxc"; "Mod+Control+B".action = focus-or-spawn-action-app_id ".blueman-manager-wrapped" "bmgr" "blueman-manager"; "Mod+Control+Return".action = focus-or-spawn-action-app_id "kitty-scratch" "term" "kitty" "--app-id" "kitty-scratch"; -- cgit v1.2.3