summaryrefslogtreecommitdiff
path: root/niri
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2026-01-11 19:26:22 -0600
committerzachir <zachir@librem.one>2026-01-11 19:26:22 -0600
commit81eeb3aec382b8e912560082df8b7d4a67fdeb98 (patch)
tree332d26447d7bcdf60d57f0ec33411551503930d9 /niri
parent10d59796b2525ab0b81a9efb4c5af447d279ce44 (diff)
parent4dfae6cc2cae76d60e04ead74774b74b1432219c (diff)
Merge branch 'master' into cascas
Diffstat (limited to 'niri')
-rw-r--r--niri/config.kdl27
1 files changed, 27 insertions, 0 deletions
diff --git a/niri/config.kdl b/niri/config.kdl
index 07783fb..4ef45bd 100644
--- a/niri/config.kdl
+++ b/niri/config.kdl
@@ -349,6 +349,30 @@ window-rule {
clip-to-geometry true
}
+// Setup workspaces
+//workspace "1"
+//workspace "2"
+//workspace "3"
+//workspace "4"
+//workspace "5"
+//workspace "6"
+//workspace "7"
+//workspace "8"
+//workspace "9"
+
+// Setup Scratchpads
+workspace "Scratchpad"
+
+window-rule {
+ match app-id=r#"^special-.*$"#
+ open-on-workspace "Scratchpad"
+ open-floating true
+ default-column-width { proportion 0.5; }
+ default-window-height { proportion 0.5; }
+}
+
+//spawn-at-startup "kitty -T spterm"
+
binds {
// Keys consist of modifiers separated by + signs, followed by an XKB key name
// in the end. To find an XKB name for a particular key, you may use a program
@@ -609,4 +633,7 @@ binds {
// Browsers
Super+Alt+W { spawn "lwc"; }
+
+ // Scratchpads
+ Mod+Control+X { spawn "/usr/local/bin/spawn-or-focus.sh" "special-term"; }
}