From fb637423e1b966dcff3067ce642930df4617f265 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sat, 24 Feb 2024 11:37:21 -0800 Subject: [PATCH] chore: Hide toggle-autologin --- .../share/ublue-os/just/85-bazzite-image.just | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just b/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just index 405924dc..04e294cc 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/85-bazzite-image.just @@ -1,15 +1,5 @@ # vim: set ft=make : -# Toggle between desktop/gamescope autologin -toggle-autologin: - #!/usr/bin/bash - DESKTOP_AUTOLOGIN="/etc/bazzite/desktop_autologin" - if [[ -f $DESKTOP_AUTOLOGIN ]]; then - sudo rm -f $DESKTOP_AUTOLOGIN - else - sudo touch $DESKTOP_AUTOLOGIN - fi - # Install Decky Loader (https://github.com/SteamDeckHomebrew/decky-loader) get-decky: #!/usr/bin/bash @@ -157,3 +147,12 @@ _toggle_wayland: else sudo sed -i 's/false/true/g' /etc/default/desktop-wayland fi + +_toggle-autologin: + #!/usr/bin/bash + DESKTOP_AUTOLOGIN="/etc/bazzite/desktop_autologin" + if [[ -f $DESKTOP_AUTOLOGIN ]]; then + sudo rm -f $DESKTOP_AUTOLOGIN + else + sudo touch $DESKTOP_AUTOLOGIN + fi