From a0de1f3c029198a3194a4a06a5bc122198eb838f Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Fri, 10 May 2024 23:44:21 -0700 Subject: [PATCH] Revert "feat(framework): Stop enabling power-profile-switcher in ublue-user-setup (#1282)" This reverts commit 6156c0cc8e1df91653abe54a1e80a70d1829b2f9. --- packages.json | 2 +- system_files/shared/usr/libexec/ublue-user-setup | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages.json b/packages.json index 437a3211012..13fc82dbcbb 100644 --- a/packages.json +++ b/packages.json @@ -50,7 +50,7 @@ "gnome-shell-extension-gsconnect", "gnome-shell-extension-logo-menu", "gnome-shell-extension-search-light", - "gnome-shell-extension-power-profile-switcher", + "gnome-shell-extension-auto-power-profile", "libgda-sqlite", "libgda", "libratbag-ratbagd", diff --git a/system_files/shared/usr/libexec/ublue-user-setup b/system_files/shared/usr/libexec/ublue-user-setup index fcd0f55404a..36bba01a667 100755 --- a/system_files/shared/usr/libexec/ublue-user-setup +++ b/system_files/shared/usr/libexec/ublue-user-setup @@ -44,6 +44,8 @@ fi if [[ ":Framework:" =~ ":$VEN_ID:" ]]; then if [[ ! -f "$UBLUE_CONFIG_DIR/framework-initialized" ]]; then + echo 'Enabling automatic power profile extension' + ujust configure-auto-power-profile enable echo 'Setting Framework logo menu' dconf write /org/gnome/shell/extensions/Logo-menu/symbolic-icon true dconf write /org/gnome/shell/extensions/Logo-menu/menu-button-icon-image 31