Skip to content

Commit

Permalink
fix(niri-session)!: no longer import all environment variables into d…
Browse files Browse the repository at this point in the history
…bus/systemd

fixes YaLTeR#254
  • Loading branch information
jokeyrhyme authored Mar 12, 2024
1 parent ed8a6af commit 6692d1e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions resources/niri-session
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,6 @@ fi
# Reset failed state of all user units.
systemctl --user reset-failed

# Import the login manager environment.
systemctl --user import-environment

# DBus activation environment is independent from systemd. While most of
# dbus-activated services are already using `SystemdService` directive, some
# still don't and thus we should set the dbus environment with a separate
# command.
if hash dbus-update-activation-environment 2>/dev/null; then
dbus-update-activation-environment --all
fi

# Start niri and wait for it to terminate.
systemctl --user --wait start niri.service

Expand Down

0 comments on commit 6692d1e

Please sign in to comment.