diff --git a/common/redhat/apps/barrier.sh b/common/redhat/apps/barrier.sh new file mode 100644 index 0000000..6c11e0c --- /dev/null +++ b/common/redhat/apps/barrier.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_barrier() { + echo "Installing barrier" + sudo dnf install barrier -y +} diff --git a/common/redhat/apps/boxes.sh b/common/redhat/apps/boxes.sh new file mode 100644 index 0000000..374385a --- /dev/null +++ b/common/redhat/apps/boxes.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_boxes() { + echo "Installing gnome-boxes" + sudo dnf install gnome-boxes -y +} \ No newline at end of file diff --git a/common/redhat/apps/brave.sh b/common/redhat/apps/brave.sh new file mode 100644 index 0000000..3896adf --- /dev/null +++ b/common/redhat/apps/brave.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +install_brave() { + echo "Installing brave-browser" + sudo dnf install dnf-transport-https curl + sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-dnf-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-dnf-release.s3.brave.com/ stable main" | sudo tee /etc/dnf/sources.list.d/brave-browser-release.list + sudo dnf update + sudo dnf install brave-browser +} diff --git a/common/redhat/apps/chrome.sh b/common/redhat/apps/chrome.sh new file mode 100644 index 0000000..530bb9c --- /dev/null +++ b/common/redhat/apps/chrome.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +install_chrome() { + echo 'Installing Google Chrome' + wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb + sudo dpkg -i ./google-chrome-stable_current_amd64.deb + rm google-chrome-stable_current_amd64.deb + sudo dnf install chrome-gnome-shell -y +} diff --git a/common/redhat/apps/discord.sh b/common/redhat/apps/discord.sh new file mode 100644 index 0000000..8c99e02 --- /dev/null +++ b/common/redhat/apps/discord.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +install_discord() { + echo 'Installing Discord' + wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb" + sudo dpkg -i discord.deb +} \ No newline at end of file diff --git a/common/redhat/apps/etcher.sh b/common/redhat/apps/etcher.sh new file mode 100644 index 0000000..c8072c7 --- /dev/null +++ b/common/redhat/apps/etcher.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +install_etcher() { + echo 'Installing Etcher' + echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/dnf/sources.list.d/balena-etcher.list + sudo dnf-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 379CE192D401AB61 + sudo dnf update -y + sudo dnf install balena-etcher-electron -y +} diff --git a/common/redhat/apps/flameshot.sh b/common/redhat/apps/flameshot.sh new file mode 100644 index 0000000..1b170fa --- /dev/null +++ b/common/redhat/apps/flameshot.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_flameshot() { + echo "Installing Flameshot" + sudo dnf install flameshot -y +} \ No newline at end of file diff --git a/common/redhat/apps/freerdp.sh b/common/redhat/apps/freerdp.sh new file mode 100644 index 0000000..cbe4a69 --- /dev/null +++ b/common/redhat/apps/freerdp.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_freerdp() { + echo "Installing freerdp" + sudo dnf-get install freerdp2-x11 +} \ No newline at end of file diff --git a/common/redhat/apps/geary.sh b/common/redhat/apps/geary.sh new file mode 100644 index 0000000..404a344 --- /dev/null +++ b/common/redhat/apps/geary.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_geary() { + echo "Installing geary" + sudo dnf install geary -y +} \ No newline at end of file diff --git a/common/redhat/apps/git.sh b/common/redhat/apps/git.sh new file mode 100644 index 0000000..1112cfa --- /dev/null +++ b/common/redhat/apps/git.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_git() { + echo "Installing git" + sudo dnf install git -y +} \ No newline at end of file diff --git a/common/redhat/apps/gnome_shell.sh b/common/redhat/apps/gnome_shell.sh new file mode 100644 index 0000000..faf77da --- /dev/null +++ b/common/redhat/apps/gnome_shell.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_gnome_shell() { + echo 'Installing gnome-shell' + sudo dnf install chrome-gnome-shell -y +} diff --git a/common/redhat/apps/gnome_tweaks.sh b/common/redhat/apps/gnome_tweaks.sh new file mode 100644 index 0000000..8f3a89c --- /dev/null +++ b/common/redhat/apps/gnome_tweaks.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_gnome_tweaks() { + echo "Installing Gnome-Tweaks" + sudo dnf install gnome-tweaks -y +} \ No newline at end of file diff --git a/common/redhat/apps/gpick.sh b/common/redhat/apps/gpick.sh new file mode 100644 index 0000000..5bfa7ef --- /dev/null +++ b/common/redhat/apps/gpick.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_gpick() { + echo "Installing gpick" + sudo dnf install gpick -y +} \ No newline at end of file diff --git a/common/redhat/apps/kcolorchooser.sh b/common/redhat/apps/kcolorchooser.sh new file mode 100644 index 0000000..11fcb81 --- /dev/null +++ b/common/redhat/apps/kcolorchooser.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_kcolorchooser() { + echo "Installing kcolorchooser" + sudo dnf install kcolorchooser -y +} \ No newline at end of file diff --git a/common/redhat/apps/keepassxc.sh b/common/redhat/apps/keepassxc.sh new file mode 100644 index 0000000..5a8497e --- /dev/null +++ b/common/redhat/apps/keepassxc.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_keepassxc() { + echo "Installing keepassxc" + sudo dnf install keepassxc -y +} \ No newline at end of file diff --git a/common/redhat/apps/lsd.sh b/common/redhat/apps/lsd.sh new file mode 100644 index 0000000..5948e95 --- /dev/null +++ b/common/redhat/apps/lsd.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +install_lsd() { + echo "Installing lsd" + mkdir hack + cd hack + wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip + unzip Hack.zip + cd .. + + sudo cp -r hack /usr/share/fonts/ + sudo chmod -R 775 /usr/share/fonts/hack + rm -r hack + wget https://github.com/Peltoche/lsd/releases/download/0.19.0/lsd_0.19.0_amd64.deb + sudo dpkg -i lsd_0.19.0_amd64.deb + sudo rm lsd_0.19.0_amd64.deb + # echo "alias ls='lsd'" | sudo tee -a /home/*/.bashrc > /dev/null + # todos + # write py script to comment line: alias="ls --color=auto" + # echo "alias ls='lsd'" | sudo tee -a /etc/bash.bashrc > /dev/null + echo " +alias ls='lsd' + " | sudo tee -a /etc/bash.bashrc > /dev/null +} diff --git a/common/redhat/apps/ncdu.sh b/common/redhat/apps/ncdu.sh new file mode 100644 index 0000000..1c3f55d --- /dev/null +++ b/common/redhat/apps/ncdu.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_ncdu() { + echo "Installing ncdu" + sudo dnf install ncdu -y +} diff --git a/common/redhat/apps/neofetch.sh b/common/redhat/apps/neofetch.sh new file mode 100644 index 0000000..fdc19ef --- /dev/null +++ b/common/redhat/apps/neofetch.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +install_neofetch() { + echo "Installing neofetch" + sudo dnf install neofetch -y + echo ' +if [ $USER != "root" ]; then + echo "" + neofetch +fi + ' | sudo tee -a /etc/bash.bashrc > /dev/null +} diff --git a/common/redhat/apps/nextcloud.sh b/common/redhat/apps/nextcloud.sh new file mode 100644 index 0000000..72fac0d --- /dev/null +++ b/common/redhat/apps/nextcloud.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +install_nextcloud() { + echo "Installing Nextcloud client" + sudo add-dnf-repository ppa:nextcloud-devs/client + sudo dnf update + sudo dnf install nextcloud-client -y +} \ No newline at end of file diff --git a/common/redhat/apps/signal.sh b/common/redhat/apps/signal.sh new file mode 100644 index 0000000..d527d3d --- /dev/null +++ b/common/redhat/apps/signal.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_signal() { + echo "Installing signal-desktop " + sudo dnf install signal-desktop -y +} \ No newline at end of file diff --git a/common/redhat/apps/stacer.sh b/common/redhat/apps/stacer.sh new file mode 100644 index 0000000..1cf7816 --- /dev/null +++ b/common/redhat/apps/stacer.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_stacer() { + echo "Installing Stacer" + sudo dnf install stacer -y +} \ No newline at end of file diff --git a/common/redhat/apps/sublime_text.sh b/common/redhat/apps/sublime_text.sh new file mode 100644 index 0000000..2c09984 --- /dev/null +++ b/common/redhat/apps/sublime_text.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +install_sublime_text() { + echo "Installing sublime-text" + wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo dnf-key add - + sudo dnf install dnf-transport-https -y + sudo add-dnf-repository "deb https://download.sublimetext.com/ dnf/stable/" + + sudo dnf update + sudo dnf install sublime-text -y +} \ No newline at end of file diff --git a/common/redhat/apps/timeshift.sh b/common/redhat/apps/timeshift.sh new file mode 100644 index 0000000..7f1f5b0 --- /dev/null +++ b/common/redhat/apps/timeshift.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +install_timeshift() { + echo "Installing Timeshift" + sudo add-dnf-repository -y ppa:teejee2008/ppa + sudo dnf update -y + sudo dnf install timeshift -y +} diff --git a/common/redhat/apps/trash-cli.sh b/common/redhat/apps/trash-cli.sh new file mode 100644 index 0000000..ecff311 --- /dev/null +++ b/common/redhat/apps/trash-cli.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +install_trash_cli() { + echo "Installing trash-cli" + sudo dnf install trash-cli -y +} \ No newline at end of file diff --git a/common/redhat/apps/ulauncher.sh b/common/redhat/apps/ulauncher.sh new file mode 100644 index 0000000..215b4a7 --- /dev/null +++ b/common/redhat/apps/ulauncher.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +install_ulauncher() { + echo "Installing Ulauncher" + sudo add-dnf-repository ppa:agornostal/ulauncher + sudo dnf update -y + sudo dnf install ulauncher -y +} diff --git a/common/redhat/apps/vscode.sh b/common/redhat/apps/vscode.sh new file mode 100644 index 0000000..ccc3393 --- /dev/null +++ b/common/redhat/apps/vscode.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +install_vscode() { + echo "Installing VS Code" + curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo dnf-key add - + sudo add-dnf-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main" + sudo dnf update + sudo dnf install code -y +} \ No newline at end of file