diff --git a/README.md b/README.md index ee17472..5acd72a 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,17 @@ My personal configuration files for various applications and tools running on Ca ## Installation -To set up my dotfiles on your system, you can use the following command: +1. To set up my dotfiles on your system, you can use the following command: ```bash curl -sL https://raw.githubusercontent.com/DerTyp7/.dotfiles/refs/heads/master/setup.sh | sudo bash ``` + +2. Follow these guides: + - [Setting Up Proton-CachyOS with Lutris and Heroic](https://wiki.cachyos.org/configuration/gaming/#setting-up-proton-cachyos-with-lutris-and-heroic) + - [Pre-caching shaders with Proton-CachyOS, -GE and -EM](https://wiki.cachyos.org/configuration/gaming/#pre-caching-shaders-with-proton-cachyos--ge-and--em) + - [How to add game-performance to Steam, Lutris and Heroic Games Launcher](https://wiki.cachyos.org/configuration/gaming/#how-to-add-game-performance-to-steam-lutris-and-heroic-games-launcher) + +## My Personal Notes for CachyOS + +- [Install Software on CachyOS](install-software.md) diff --git a/install-software.md b/install-software.md new file mode 100644 index 0000000..fd25e4e --- /dev/null +++ b/install-software.md @@ -0,0 +1,80 @@ +# How to install software + +There are **two main ways** to install software on CachyOS: using Arch Repositories or Flatpak. + +- [How to install software](#how-to-install-software) + - [What should I use?](#what-should-i-use) + - [Arch Repositories](#arch-repositories) + - [Installing packages](#installing-packages) + - [Examples](#examples) + - [Flatpak](#flatpak) + - [Alternatively, you can install Flatpak packages using the terminal](#alternatively-you-can-install-flatpak-packages-using-the-terminal) + +## What should I use? + +Usually, it's best to use [**Arch Repositories**](#arch-repositories) for most software, as they are more integrated with the system and generally perform better. + +However, if you need a specific version of software that is not available in the [**Arch Repositories**](#arch-repositories), **or** if you want to try out new software without affecting your system, you can use [**Flatpak**](#flatpak). + +## Arch Repositories + +Arch Software installs packages **integrated** with the system. + +- These packages are usually more **lightweight** than Flatpak versions. +- They **integrate better** with the system theme and file manager. +- They start up faster and use less disk space. + +### Installing packages + +1. Find the package you want to install on by googling ` arch repository` or searching on [archlinux.org/packages](https://archlinux.org/packages/) or [aur.archlinux.org](https://aur.archlinux.org/). +2. Open Terminal/Console. +3. Install the package using `pacman` or `paru` (for AUR packages). + - If the package is on `https://archlinux.org/packages/`, use `pacman`. + - If the package is on `https://aur.archlinux.org/`, use `paru`. + +```bash +sudo pacman -S package_name +``` + +or + +```bash +paru -S package_name +``` + +### Examples + +**Discord** is available on AUR, so you would install it using `paru`: + +> + +```bash +paru -S discord +``` + +**VLC** is available on the official Arch repositories, so you would install it using `pacman`: + +> + +```bash +sudo pacman -S vlc +``` + +## Flatpak + +Flatpak Software installs packages in a **sandboxed** environment. + +- They are more **secure** as they are isolated from the system. +- They can be **easily uninstalled** without affecting the host system. +- They may not integrate well with the system theme and file manager. +- They may start up slower and use more disk space. + +1. Open Software Center. +2. Search for the application you want to install. +3. Click on the application and then click "Install". + +### Alternatively, you can install Flatpak packages using the terminal + +```bash +flatpak install package_name +``` diff --git a/setup.sh b/setup.sh index d3065fe..161f6a3 100644 --- a/setup.sh +++ b/setup.sh @@ -1 +1,32 @@ -sudo pacman -Syu --noconfirm \ No newline at end of file +sudo pacman -Syu --noconfirm\ + cachyos-gaming-meta \ + cachyos-gaming-applications \ + dysk \ + htop \ + nvim \ + godot \ + discord \ + obs-studio \ + vlc \ + brave-bin + +paru -S --noconfirm \ + teamspeak \ + protonup-qt \ + brave-bin \ + prismlauncher \ + bottles\ + signal-desktop + +sudo sed -i -e '$a\' -e '# Increase Nvidia\'s shader cache size to 12GB' -e '__GL_SHADER_DISK_CACHE_SIZE=12000000000' /etc/environment + +git clone https://github.com/DerTyp7/.dotfiles.git ~/.config/.dotfiles +mv * ~/.config/.dotfiles ~/.config +rm -rf ~/.config/.dotfiles + +read -r -p "Reboot now? (Y/n) " reply +if [[ $reply =~ ^[Yy] ]]; then + sudo reboot now +else + exit 0 +fi \ No newline at end of file