From a1dafc179a2cdedc8b41dd326a430ff3d46f83c1 Mon Sep 17 00:00:00 2001 From: dnkmmr <104856296+dnkmmr69420@users.noreply.github.com> Date: Sat, 11 May 2024 01:09:53 -0500 Subject: [PATCH 1/2] Added alias to fix-gmod 81-bazzite-fixes.just (#1008) The alias is `patch-gmod` Co-authored-by: Kyle Gospodnetich --- .../shared/usr/share/ublue-os/just/81-bazzite-fixes.just | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/81-bazzite-fixes.just b/system_files/desktop/shared/usr/share/ublue-os/just/81-bazzite-fixes.just index 973c465e..40f15203 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/81-bazzite-fixes.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/81-bazzite-fixes.just @@ -6,6 +6,8 @@ fix-steam-download-speed: rm -f $HOME/.local/share/Steam/steam_dev.cfg bash -c 'printf "@nClientDownloadEnableHTTP2PlatformLinux 0\n@fDownloadRateImprovementToAddAnotherConnection 1.0\n" > $HOME/.local/share/Steam/steam_dev.cfg' +alias patch-gmod := fix-gmod + # Patch GMod's 64-bit beta to work properly on Linux (https://github.com/solsticegamestudios/GModCEFCodecFix) fix-gmod: #!/usr/bin/bash From 62d8187544cd8ef74e7b7d507ea5e9b1d130bf3d Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 10 May 2024 23:34:32 -0700 Subject: [PATCH 2/2] chore: Fix missing elif --- .../silverblue/usr/share/ublue-os/just/90-bazzite-de.just | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/desktop/silverblue/usr/share/ublue-os/just/90-bazzite-de.just b/system_files/desktop/silverblue/usr/share/ublue-os/just/90-bazzite-de.just index 2aac270f..a95bbfcd 100644 --- a/system_files/desktop/silverblue/usr/share/ublue-os/just/90-bazzite-de.just +++ b/system_files/desktop/silverblue/usr/share/ublue-os/just/90-bazzite-de.just @@ -21,7 +21,7 @@ configure-auto-power-profile ACTION="help": echo " Use 'enable' to allow automatic power profile switching based on power state echo " Use 'disable' to prevent automatic power profile switching based on power state exit 0 - if [[ "${OPTION,,}" =~ enable ]]; then + elif [[ "${OPTION,,}" =~ enable ]]; then gnome-extensions enable auto-power-profile@dmy3k.github.io elif [[ "${OPTION,,}" =~ disable ]]; then gnome-extensions disable auto-power-profile@dmy3k.github.io