📚 docs(README): add sections and refactor the installation guide
This commit is contained in:
parent
971072ebd7
commit
0e97aa1ba0
1 changed files with 92 additions and 38 deletions
130
.github/README.md
vendored
130
.github/README.md
vendored
|
@ -217,20 +217,28 @@ Here is all the information about my setup:
|
||||||
|
|
||||||
- **Base Packages**
|
- **Base Packages**
|
||||||
|
|
||||||
Lets start with the required base packages for the configuration to function.
|
- **System**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yay -Sy hyprland hyprlock hypridle xdg-desktop-portal-hyprland hyprpicker \
|
yay -Sy hyprland hyprlock hypridle xdg-desktop-portal-hyprland hyprpicker \
|
||||||
swww waybar waybar-updates rofi-wayland swaync swayosd-git playerctl \
|
swww waybar waybar-updates rofi-wayland swaync swayosd-git \
|
||||||
wl-clipboard cliphist udiskie devify polkit-gnome \
|
wl-clipboard cliphist udiskie devify polkit-gnome playerctl \
|
||||||
pyprland qt5ct qt5-wayland qt6-wayland pavucontrol fastfetch \
|
pyprland grim slurp \
|
||||||
fzf jq eza fd slurp grim satty vivid fish starship ripgrep bat \
|
```
|
||||||
catppuccin-gtk-theme-macchiato catppuccin-cursors-macchiato \
|
|
||||||
yazi nemo kitty zathura zathura-pdf-mupdf qimgv-light mpv
|
|
||||||
|
|
||||||
```
|
- **CLI/TUI**
|
||||||
|
|
||||||
- **Graphics Drivers** (_Optional_)
|
```bash
|
||||||
|
yay -Sy fastfetch fzf jq eza fd vivid fish starship ripgrep bat yazi
|
||||||
|
```
|
||||||
|
|
||||||
|
- **GUI Apps**
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -Sy pavucontrol satty nemo zathura zathura-pdf-mupdf qimgv-light mpv
|
||||||
|
```
|
||||||
|
|
||||||
|
- **Graphics Drivers**
|
||||||
|
|
||||||
> [!WARNING]
|
> [!WARNING]
|
||||||
> Skip this step if you already have the correct drivers for your graphics card.
|
> Skip this step if you already have the correct drivers for your graphics card.
|
||||||
|
@ -252,6 +260,20 @@ yay -Sy xf86-video-intel vulkan-intel lib32-vulkan-intel vulkan-tools libva-inte
|
||||||
lib32-libva-intel-driver mesa lib32-mesa mesa-vdpau lib32-mesa-vdpau
|
lib32-libva-intel-driver mesa lib32-mesa mesa-vdpau lib32-mesa-vdpau
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- **Color Theme**
|
||||||
|
|
||||||
|
To install the color theme for GTK and QT apps use the following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -Sy catppuccin-gtk-theme-macchiato catppuccin-cursors-macchiato qt5ct qt5-wayland qt6-wayland
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to edit your GTK settings, install [nwg-look](https://github.com/nwg-piotr/nwg-look):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -Sy nwg-look
|
||||||
|
```
|
||||||
|
|
||||||
- **Icon Theme**
|
- **Icon Theme**
|
||||||
|
|
||||||
First off, we have to download the icon package from the releases page of their repo. You can do it very easily by using curl.
|
First off, we have to download the icon package from the releases page of their repo. You can do it very easily by using curl.
|
||||||
|
@ -287,31 +309,12 @@ After that, be sure to refresh the font cache:
|
||||||
fc-cache -fv
|
fc-cache -fv
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Audio Service** (_Optional_)
|
|
||||||
|
|
||||||
> [!WARNING]
|
|
||||||
> If you have Pipewire already setup on your system, you dont have to follow this step.
|
|
||||||
|
|
||||||
Firstly, install this dependencies:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
yay -S pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber alsa-utils
|
|
||||||
```
|
|
||||||
|
|
||||||
Now enable pipewire and wireplumber systemd services:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
systemctl --user enable --now pipewire wireplumber
|
|
||||||
```
|
|
||||||
|
|
||||||
And there you have it.
|
|
||||||
|
|
||||||
## :floppy_disk: Dotfiles Installation
|
## :floppy_disk: Dotfiles Installation
|
||||||
|
|
||||||
> [!WARNING]
|
> [!CAUTION]
|
||||||
> Here we can take two routes. **CHOOSE ONE, NOT BOTH!**
|
> Here we can take two routes (Yadm or Git). **CHOOSE ONE, NOT BOTH!**
|
||||||
|
|
||||||
### Yadm Method (**recommended**)
|
- **Yadm Method** (_Recommended_)
|
||||||
|
|
||||||
[Yadm](https://yadm.io/) is amazing. It lets you manage your dotfiles with git without the hassle of creating a git repo on your home directory as well as gitignoring a lot of files.
|
[Yadm](https://yadm.io/) is amazing. It lets you manage your dotfiles with git without the hassle of creating a git repo on your home directory as well as gitignoring a lot of files.
|
||||||
|
|
||||||
|
@ -324,12 +327,12 @@ For now, we are going to install it the simple way without to many complications
|
||||||
Firstly, **be sure to backup your existing config files**. Then, we are going to install yadm. You can do it using pacman with the following command:
|
Firstly, **be sure to backup your existing config files**. Then, we are going to install yadm. You can do it using pacman with the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -S yadm
|
yay -Sy yadm
|
||||||
```
|
```
|
||||||
|
|
||||||
After that, its time to clone the dotfiles repo into your system using yadm.
|
After that, its time to clone the dotfiles repo into your system using yadm.
|
||||||
|
|
||||||
> [!NOTE]
|
> [!IMPORTANT]
|
||||||
> If any file in your local machine differs from the one in the remote repository, your local file will remain unmodified. You'll need to manually review and resolve any differences.
|
> If any file in your local machine differs from the one in the remote repository, your local file will remain unmodified. You'll need to manually review and resolve any differences.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -352,7 +355,7 @@ Then, be sure to push your changes to your remote!
|
||||||
|
|
||||||
Now you can receive new updates from my repo and modify your custom one :sunglasses:
|
Now you can receive new updates from my repo and modify your custom one :sunglasses:
|
||||||
|
|
||||||
### Git Method
|
- **Git Method**
|
||||||
|
|
||||||
Firstly, clone this repository (remember to have git installed).
|
Firstly, clone this repository (remember to have git installed).
|
||||||
|
|
||||||
|
@ -387,7 +390,7 @@ For more information about Hyprland monitors and workspaces, [check the docs](ht
|
||||||
|
|
||||||
Now, for the Waybar to appear you also need to change the output definition on [this file](../.config/waybar/config.jsonc).
|
Now, for the Waybar to appear you also need to change the output definition on [this file](../.config/waybar/config.jsonc).
|
||||||
|
|
||||||
- **Change Default Applications**
|
**Change Default Applications**
|
||||||
|
|
||||||
To change the default applications by filetype, be sure to install [this app](https://github.com/magnus-ISU/selectdefaultapplication).
|
To change the default applications by filetype, be sure to install [this app](https://github.com/magnus-ISU/selectdefaultapplication).
|
||||||
|
|
||||||
|
@ -403,9 +406,31 @@ If you are going to use git, be sure to change the user definition as well as th
|
||||||
|
|
||||||
- **Laptop Additions**
|
- **Laptop Additions**
|
||||||
|
|
||||||
|
- **Automatic CPU Frequency** (_Recommended_)
|
||||||
|
|
||||||
|
This one is a must have for all laptops users, even for desktop pc users as well. Firstly, [install auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -Sy auto-cpufreq
|
||||||
|
```
|
||||||
|
|
||||||
|
After that, install the daemon by using this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo auto-cpufreq --install
|
||||||
|
```
|
||||||
|
|
||||||
|
If that didn't work, enable the systemd unit:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl enable --now auto-cpufreq.service
|
||||||
|
```
|
||||||
|
|
||||||
|
Now your good to go, check their documentation for more details on how to configure it. I personally use the default profile it comes with and I didn't had any issues.
|
||||||
|
|
||||||
- **Bluetooth**
|
- **Bluetooth**
|
||||||
|
|
||||||
Lets start by installing bluez (bluetooth support) and overskride (GUI):
|
Lets start by installing bluez (Bluetooth support) and overskride (GUI):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yay -Sy bluez overskride
|
yay -Sy bluez overskride
|
||||||
|
@ -461,6 +486,35 @@ To enable the keyring support, install the following packages:
|
||||||
yay -Sy gnome-keyring libsecret
|
yay -Sy gnome-keyring libsecret
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- **Misc**
|
||||||
|
|
||||||
|
- **Bat**
|
||||||
|
|
||||||
|
Bat needs to rebuild the cache to load the themes. Make sure to run this command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
bat cache --build
|
||||||
|
```
|
||||||
|
|
||||||
|
- **Audio Service** (_Optional_)
|
||||||
|
|
||||||
|
> [!WARNING]
|
||||||
|
> If you have Pipewire already setup on your system, you dont have to follow this step.
|
||||||
|
|
||||||
|
Firstly, install this dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
yay -Sy pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber alsa-utils
|
||||||
|
```
|
||||||
|
|
||||||
|
Now enable pipewire and wireplumber systemd services:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
systemctl --user enable --now pipewire wireplumber
|
||||||
|
```
|
||||||
|
|
||||||
|
And there you have it.
|
||||||
|
|
||||||
- **Specific Configs/Information** (_Optional_)
|
- **Specific Configs/Information** (_Optional_)
|
||||||
|
|
||||||
Finally, if you want to take a look at some specific app configuration, check the READMEs from each app in their respective config folders.
|
Finally, if you want to take a look at some specific app configuration, check the READMEs from each app in their respective config folders.
|
||||||
|
|
Loading…
Add table
Reference in a new issue