aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2023-09-21 19:58:03 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2023-09-21 19:58:03 +0400
commita7e338b3c0aeb37f7cc6095f27056fc77e1760a7 (patch)
tree9f61b1b7966454dd0af7c72da25475f3bc9521cd /resources
parent80dce054cb8da4a34b1863a7642baeeebf66ebbe (diff)
downloadniri-a7e338b3c0aeb37f7cc6095f27056fc77e1760a7.tar.gz
niri-a7e338b3c0aeb37f7cc6095f27056fc77e1760a7.tar.bz2
niri-a7e338b3c0aeb37f7cc6095f27056fc77e1760a7.zip
Add spawn-at-startup config option
Fixes https://github.com/YaLTeR/niri/issues/12
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 7596fba3..3e15b260 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -35,6 +35,11 @@ input {
scale 2.0
}
+// Add lines like this to spawn processes at startup.
+// Note that running niri as a session supports xdg-desktop-autostart,
+// which may be more convenient to use.
+// spawn-at-startup "alacritty" "-e" "fish"
+
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