Skip to content

Commit

Permalink
Properly obtain environment.d variables by invoking the systemd gener…
Browse files Browse the repository at this point in the history
…ator
  • Loading branch information
FilippoBonazziSUSE committed Jan 12, 2023
1 parent 4f3e5cc commit 1e0ce01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sway/sway-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ export XDG_CURRENT_DESKTOP=sway
set -a
# Import openSUSEway environment variables
. /etc/sway/env
# Import user environment variables
. ~/.config/environment.d/*.conf
# Import environment.d variables by calling the systemd generator
eval "$(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)"
set +a

systemd-cat --identifier=sway sway $@

0 comments on commit 1e0ce01

Please sign in to comment.