Skip to content

Commit

Permalink
fix: add some support for Arch
Browse files Browse the repository at this point in the history
  • Loading branch information
Regolith Linux committed Apr 20, 2024
1 parent eb2d746 commit 485527c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions usr/bin/regolith-session
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ fi
if [ -f /etc/os-release ]; then
source /etc/os-release

if [[ "$ID" == "arch" ]]; then


if [[ "$ID" == "arch" ]]; then # Assume Arch Linux system has "latest" gnome-session
exec gnome-session --session=$SESSION_ID --disable-acceleration-check "$@"
elif [[ "$VERSION_CODENAME" == "bionic" || "$VERSION_CODENAME" == "buster" || "$VERSION_CODENAME" == "noble" ]]; then
exec gnome-session --session=$SESSION_ID --disable-acceleration-check "$@"
else
Expand Down

0 comments on commit 485527c

Please sign in to comment.