Skip to content

Commit

Permalink
fix: set XDG_CURRENT_DESKTOP, overriding previous value if already set
Browse files Browse the repository at this point in the history
  • Loading branch information
Regolith Linux committed Nov 2, 2023
1 parent 0b6e68a commit 1a1c5e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions usr/bin/regolith-session-wayland
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ while read -r l; do
done < <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator)

# Set XDG_CURRENT_DESKTOP
if [ -z "$XDG_CURRENT_DESKTOP" ]; then
export XDG_CURRENT_DESKTOP="Regolith:GNOME:sway"
fi
export XDG_CURRENT_DESKTOP="Regolith:GNOME:sway"

# Start sway-regolith
unsupported_gpu=$(trawlcat regolith.sway.unsupported_gpu false)
Expand Down

0 comments on commit 1a1c5e0

Please sign in to comment.