summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/niri/config.kdl10
1 files changed, 10 insertions, 0 deletions
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"
}