From 961a67418370d2228b049d1c8c3f7cdb51c2a2a9 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sat, 6 Apr 2024 21:04:49 +0100 Subject: [PATCH] Automate gnome optional dependencies --- install.sh | 3 +++ scripts/arch-gnome-setup.sh | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 scripts/arch-gnome-setup.sh diff --git a/install.sh b/install.sh index 4df91903..d8e8e98f 100755 --- a/install.sh +++ b/install.sh @@ -24,6 +24,9 @@ if [[ $d == "Debian" ]]; then sudo apt install -y curl git elif [[ $d == "Arch" ]]; then sudo pacman -Sy curl git + sudo pacman -Sy gnome power-profiles-daemon fwupd gst-plugin-pipewire # Gnome and optional dependencies. + sudo systemctl enable power-profiles-daemon + sudo systemctl start power-profiles-daemon elif [[ $d == "Fedora" ]]; then sudo dnf install curl git fi diff --git a/scripts/arch-gnome-setup.sh b/scripts/arch-gnome-setup.sh deleted file mode 100644 index 7215ee90..00000000 --- a/scripts/arch-gnome-setup.sh +++ /dev/null @@ -1,6 +0,0 @@ -#! /bin/bash - -sudo pacman -Syu gnome power-profiles-daemon fwupd gst-plugin-pipewire - -sudo systemctl enable power-profiles-daemon -sudo systemctl start power-profiles-daemon