From 24c1d834fd31509fee3fcbf7c0ff4e1dc522551d Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 24 Nov 2021 09:37:45 +0100 Subject: [PATCH] Improved installations --- common/debian/apps/brave.sh | 10 +++ common/debian/apps/gnome_shell.sh | 4 +- .../redhat/fedora_desktop_installation.sh | 62 +++++++++++++++++++ users/edraft/redhat/theme_installation.sh | 16 +++++ 4 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 common/debian/apps/brave.sh create mode 100644 users/edraft/redhat/fedora_desktop_installation.sh create mode 100644 users/edraft/redhat/theme_installation.sh diff --git a/common/debian/apps/brave.sh b/common/debian/apps/brave.sh new file mode 100644 index 0000000..e1b253a --- /dev/null +++ b/common/debian/apps/brave.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +install_brave() { + echo "Installing brave-browser" + sudo apt install apt-transport-https curl + sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg + echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list + sudo apt update + sudo apt install brave-browser +} diff --git a/common/debian/apps/gnome_shell.sh b/common/debian/apps/gnome_shell.sh index 2b57caf..ea9d412 100644 --- a/common/debian/apps/gnome_shell.sh +++ b/common/debian/apps/gnome_shell.sh @@ -2,7 +2,5 @@ install_gnome_shell() { echo 'Installing gnome-shell' - if [ $1 == "chrome" ]; then - sudo apt install chrome-gnome-shell -y - fi + sudo apt install chrome-gnome-shell -y } diff --git a/users/edraft/redhat/fedora_desktop_installation.sh b/users/edraft/redhat/fedora_desktop_installation.sh new file mode 100644 index 0000000..4ec334b --- /dev/null +++ b/users/edraft/redhat/fedora_desktop_installation.sh @@ -0,0 +1,62 @@ +#!/bin/bash + +source $PWD/common/fedroa/scripts/update.sh +source $PWD/common/fedroa/scripts/first_install.sh + +source $PWD/common/fedroa/apps/barrier.sh +source $PWD/common/fedroa/apps/boxes.sh +source $PWD/common/fedroa/apps/brave.sh +source $PWD/common/fedroa/apps/btop.sh +source $PWD/common/fedroa/apps/discord.sh +source $PWD/common/fedroa/apps/etcher.sh +source $PWD/common/fedroa/apps/flameshot.sh +source $PWD/common/fedroa/apps/geary.sh +source $PWD/common/fedroa/apps/git.sh +source $PWD/common/fedroa/apps/gnome_shell.sh +source $PWD/common/fedroa/apps/gnome_tweaks.sh +source $PWD/common/fedroa/apps/gpick.sh +source $PWD/common/fedroa/apps/kcolorchooser.sh +source $PWD/common/fedroa/apps/keepassxc.sh +source $PWD/common/fedroa/apps/lsd.sh +source $PWD/common/fedroa/apps/ncdu.sh +source $PWD/common/fedroa/apps/neofetch.sh +source $PWD/common/fedroa/apps/nextcloud.sh +source $PWD/common/fedroa/apps/signal.sh +source $PWD/common/fedroa/apps/stacer.sh +source $PWD/common/fedroa/apps/sublime_text.sh +source $PWD/common/fedroa/apps/timeshift.sh +source $PWD/common/fedroa/apps/trash-cli.sh +source $PWD/common/fedroa/apps/ulauncher.sh +source $PWD/common/fedroa/apps/vscode.sh + +update +first_install + +install_barrier +install_boxes +install_brave +install_btop +install_chrome +install_discord +install_etcher +install_flameshot +install_geary +install_git +install_gnome_shell +install_gnome_tweaks +install_gpick +install_kcolorchooser +install_keepassxc +install_lsd +install_ncdu +install_neofetch +install_nextcloud +install_signal +install_stacer +install_sublime_text +install_timeshift +install_trash_cli +install_ulauncher + +# IDEs +install_vscode diff --git a/users/edraft/redhat/theme_installation.sh b/users/edraft/redhat/theme_installation.sh new file mode 100644 index 0000000..bcbca0c --- /dev/null +++ b/users/edraft/redhat/theme_installation.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +source $PWD/common/debian/scripts/update.sh + +source $PWD/common/themes/orchis.sh +# source $PWD/common/themes/tela_circle_icons.sh +source $PWD/common/themes/candy_icons.sh +source $PWD/common/themes/vimix_cursors.sh +source $PWD/common/themes/grub_theme.sh + +update + +install_orchis orange +install_candy_icons +install_vimix_cursors +install_grub_theme vimix 1080p