From f7b8f965e315bea88b2bf1227f60826d3f5cfdff Mon Sep 17 00:00:00 2001 From: Fredrik Robertsen Date: Wed, 3 Jun 2026 23:42:52 +0200 Subject: [PATCH] niri: add zed and zathura keybind --- dotfiles/.config/niri/config.kdl | 3 ++- dotfiles/.config/zed/settings.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 4547c43..36d6289 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -383,7 +383,8 @@ binds { Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } Super+Alt+L hotkey-overlay-title="Lock the Screen" { spawn "dms" "ipc" "call" "lock" "lock"; } Mod+B hotkey-overlay-title="Open a browser: zen" { spawn "zen"; } - Mod+Z hotkey-overlay-title="Open zathura" { spawn "zathura"; } + Mod+Z hotkey-overlay-title="Open zed" { spawn "zeditor"; } + Mod+P hotkey-overlay-title="Open zathura" { spawn "zathura"; } Mod+E hotkey-overlay-title="Open a file browser" { spawn "nautilus"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. diff --git a/dotfiles/.config/zed/settings.json b/dotfiles/.config/zed/settings.json index 99bf712..98678e6 100644 --- a/dotfiles/.config/zed/settings.json +++ b/dotfiles/.config/zed/settings.json @@ -7,6 +7,7 @@ // custom settings, run `zed: open default settings` from the // command palette (cmd-shift-p / ctrl-shift-p) { + "cli_default_open_behavior": "existing_window", "which_key": { "enabled": true, },