From 944dfd83848aa9d722eae94d77f19221dca3711b Mon Sep 17 00:00:00 2001 From: Warren Hood Date: Wed, 22 Feb 2023 23:12:06 +0200 Subject: [PATCH] Update setup script --- setup | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/setup b/setup index 4ca18b6..4d156af 100755 --- a/setup +++ b/setup @@ -2,17 +2,26 @@ echo "Setting up the stuff..." -if [[ "$(uname -a)" == *"Ubuntu"* ]] +if [[ "$(cat /etc/os-release)" == *"Ubuntu"* ]] then echo "Updating Ubuntu" sudo apt update && sudo apt upgrade echo "Installing tools/utils" - sudo apt install ripgrep fd-find make stow tmux + sudo apt install ripgrep fd-find make stow tmux lxsession thunar power-profiles-daemon playerctl network-manager-gnome volumeicon-alsa picom autorandr arandr + echo "Installing arc-icon-theme" + mkdir -p ~/git + git clone https://github.com/horst3180/arc-icon-theme --depth 1 ~/git/arc-icon-theme && cd ~/git/arc-icon-theme + ./autogen.sh --prefix=/usr + sudo make install else echo "Updating Arch" sudo pacman -Syyu echo "Installing tools/utils" sudo pacman -S ripgrep fd neovim make stow tmux + sudo pacman -S ripgrep fd neovim make stow tmux dmenu arandr autorandr volumeicon picom nitrogen network-manager-applet lxsession thunar lxappearance-gtk3 power-profiles-daemon thermald acpi arc-icon-theme playerctl + sudo systemctl enable --now power-profiles-daemon + sudo thermald --systemd + sudo power-profiles-daemon set performance fi