From 9604998dbf4815b483d2d1031997a4823ab715e2 Mon Sep 17 00:00:00 2001 From: Gaurav Bankar Date: Sun, 2 Jun 2024 18:06:48 +0530 Subject: [PATCH] completed readme --- docs/getting-started/installation_Hypr.md | 63 +++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 docs/getting-started/installation_Hypr.md diff --git a/docs/getting-started/installation_Hypr.md b/docs/getting-started/installation_Hypr.md new file mode 100644 index 0000000..5c2b5c0 --- /dev/null +++ b/docs/getting-started/installation_Hypr.md @@ -0,0 +1,63 @@ +# Hyprland & Critical Softwares + +Now that our base system is set up with all the prerequisites, it's time to start transforming your setup with Hyprland. In this section, we'll walk you through installing Hyprland and essential software to ensure a smooth and efficient workflow. + +### Hyprland Installation +1. Install the Hyprland Package: + ``` + pacman -S hyprland + ``` + Pro Tip: If you're feeling adventurous, you can always grab the bleeding-edge version from the AUR for the latest features and fixes. + +2. Start the Hyprland Session: + ``` + Hyprland + ``` +3. Once you are in, you will see a bar on top with a warning and commands to launch Kitty and exit Hyprland. + + To remove the warning: + * Launch Kitty using the shortcut `(SUPER + Q)` + * Edit the configuration file located at `~/.config/hypr/hyprland.conf` and comment out or remove the line saying `autogenerated = 1`. + + Some default keybindings to keep handy: + * `SUPER + C`: Kill the active window + * `SUPER + M`: Quit hyprland (but why would you want to?) + +4. Add the necessary environment variables to your `hyprland.conf`. + * + * + * + +### Critical Softwares +1. Install XDG Desktop Portal + The XDG Desktop Portal handles various desktop functionalities, such as file pickers and screensharing. + + ``` + pacman -S xdg-desktop-portal-hyprland + ``` +2. Install Polkit: + Polkit is used for managing system-wide privileges. + + ``` + pacman -S polkit-kde-agent + ``` + * To autostart Polkit, add the following line to your hyprland.conf: + ``` + exec-once=/usr/lib/polkit-kde-authentication-agent-1 + ``` + * make sure you don't give space between `=` and `/`. + +3. QT Wayland Applications Support + Install the necessary libraries for QT applications to work properly under Wayland. + ``` + pacman -S qt5-wayland qt6-wayland + ``` +4. Install a Notification Daemon: + A notification daemon is essential for handling system notifications. If you're unsure which to use, dunst is a worthy choice. + ``` + pacman -S dunst + + ``` +### Restart Hyprland +After installing the critical software and making the necessary configurations, restart your Hyprland session to apply the changes. This will ensure that all new settings and software are properly loaded. +