From ec156a858795b7f31cac51845d9cf3197a063f92 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 24 Feb 2024 10:08:56 +0400 Subject: Add environment {} config section --- resources/default-config.kdl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 0ebefcd2..1a2843ae 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -199,6 +199,15 @@ layout { // which may be more convenient to use. // spawn-at-startup "alacritty" "-e" "fish" +// You can override environment variables for processes spawned by niri. +environment { + // Set a variable like this: + // QT_QPA_PLATFORM "wayland" + + // Remove a variable by using null as the value: + // DISPLAY null +} + cursor { // Change the theme and size of the cursor as well as set the // `XCURSOR_THEME` and `XCURSOR_SIZE` env variables. -- cgit