From a29a9121a8355c5e73ac6eff34da4b24ef33b029 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Mon, 9 Mar 2026 03:21:04 +0100 Subject: niri: Add scratch terminals --- .config/niri/config.kdl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to '.config') diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 13e2c75..11e5163 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -140,6 +140,13 @@ window-rule { open-floating true } +window-rule { + match app-id="scratch-term" + open-floating true + default-column-width { fixed 800; } + default-window-height { fixed 600; } +} + // Example: block out two password managers from screen capture. // (This example rule is commented out with a "/-" in front.) /-window-rule { @@ -177,6 +184,9 @@ binds { Mod+Return hotkey-overlay-title="Terminal" { spawn "foot" } + Mod+Ctrl+Return hotkey-overlay-title="Terminal (Scratch)" { + spawn "foot" "--app-id" "scratch-term" + } Mod+Space hotkey-overlay-title="App Launcher" { spawn "fuzzel" "-I" "--log-level=warning" "--show-actions" } -- cgit v1.2.3