feat: environment variables for wayland & nvidia

This commit is contained in:
Ryan Yin
2025-08-20 12:35:14 +08:00
parent 2b914efbb1
commit 21090c93e8
11 changed files with 60 additions and 78 deletions

View File

@@ -209,15 +209,6 @@ in
(leaf "center-focused-column" "never")
])
# You can override environment variables for processes spawned by niri.
(plain "environment" [
# Set a variable like this:
(leaf "QT_QPA_PLATFORM" "wayland")
# Remove a variable by using null as the value:
# (leaf "DISPLAY" null)
])
(plain "cursor" [
# Change the theme and size of the cursor as well as set the
# `XCURSOR_THEME` and `XCURSOR_SIZE` env variables.