mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix(just): Add GNOME autologin support
This commit is contained in:
parent
cbd3fa6bee
commit
bf3e0b9172
@ -1,10 +1,18 @@
|
||||
enable-gamescope-autologin:
|
||||
systemctl disable --now plasma-autologin
|
||||
if grep "gnome" <<< $(rpm-ostree status); then
|
||||
systemctl disable --now gnome-autologin
|
||||
else
|
||||
systemctl disable --now plasma-autologin
|
||||
fi
|
||||
systemctl enable --now gamescope-autologin
|
||||
|
||||
enable-plasma-autologin:
|
||||
enable-desktop-autologin:
|
||||
systemctl disable --now gamescope-autologin
|
||||
systemctl enable --now plasma-autologin
|
||||
if grep "gnome" <<< $(rpm-ostree status); then
|
||||
systemctl enable --now gnome-autologin
|
||||
else
|
||||
systemctl enable --now plasma-autologin
|
||||
fi
|
||||
|
||||
set-steamos-kargs:
|
||||
echo 'Setting kargs...'
|
||||
|
@ -27,7 +27,12 @@ remove-nix:
|
||||
curl -s https://raw.githubusercontent.com/dnkmmr69420/nix-installer-scripts/main/uninstaller-scripts/silverblue-nix-uninstaller.sh | sudo bash
|
||||
|
||||
enable-big-picture:
|
||||
systemctl enable --now plasma-autologin
|
||||
#!/usr/bin/env bash
|
||||
if grep "gnome" <<< $(rpm-ostree status); then
|
||||
systemctl enable --now gnome-autologin
|
||||
else
|
||||
systemctl enable --now plasma-autologin
|
||||
fi
|
||||
sed -i 's@/usr/bin/steam-runtime -silent %U@/usr/bin/steam-runtime -bigpicture %U@g' ~/.config/autostart/bazzite-arch-steam-silent.desktop
|
||||
mv ~/.config/autostart/bazzite-arch-steam-silent.desktop ~/.config/autostart/bazzite-arch-steam-bigpicture.desktop
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user