#!/bin/bash
# - bof - #



<<'comment'
cd ~/; rm -rf ~/Hyprland-Install.sh; vim ~/Hyprland-Install.sh;
copy & paste this content
chmod +x ~/Hyprland-Install.sh; ~/./Hyprland-Install.sh;



# - Configured - #

# -  - #
# - Vim commands - #
https://vim.rtorr.com/


rm -rf ~/.bashrc;
nvim ~/.bashrc;

ssh-keygen -R 192.168.1.1

# - On client - #
cd ~/.ssh;
ssh-keygen -t rsa;

cat ~/.ssh/id_rsa.pub;

# - On server - #
nvim ~/.ssh/authorized_keys;
comment



# :1
# -  - #
# - Documentation - #
# - Hyprland Installation - HyDE-Project/HyDE - #

# -  - #
# - Hyprland keybindings - #
https://github.com/HyDE-Project/HyDE/blob/master/KEYBINDINGS.md

# -  - #
# - Documentation - #
https://www.youtube.com/watch?v=Ab_dTneP5rY

# - github repo - #
https://github.com/Hyde-project/hyde
https://github.com/Hyde-project/hyde?tab=readme-ov-file




# :2
# -  - #
# - System update - #
sudo pacman -Syu --noconfirm && sudo pacman -Syyuu --noconfirm;

# -  - #
# - Minimun requirements - #
#pacman -S --needed git base-devel;



# :3
# -  - #
# - Hyprland installation - #
# - Use either 3.a  or  3.b - (Do not use both) - #


# :3.a
# -  - #
# - Git clone installation files - #
git clone --depth 1 https://github.com/HyDE-Project/HyDE ~/Downloads/HyDE;
cd ~/Downloads/HyDE/Scripts;
chmod +x install.sh;
./install.sh;


# :3.b
# -  - #
# - Copy file into Downloads folder - #
# - Unzip Hyprland.tar.bz2 installation files - #
cd ~/Downloads;
tar -jcvf Hyprland.tar.bz2 ~/Downloads;
cd ~/Downloads/HyDE/Scripts;
chmod +x install.sh;
./install.sh;



# :4
# -  - #
# - Monitor configuration - #


# :4.a
# -  - #
# - Show monitor availables - #
hyprctl monitors all;


# :4.b
# -  - #
# - Change monitor resolution - #

vim ~/.config/hypr/hyprland.conf;
vim ~/.config/hypr/monitors.conf;

#monitor=,preferred,auto,auto
#monitor=DP-1,2560x1440@144,0x0,1
monitor=,2560x1440,auto,1
monitor=,3440x1440@49,auto,auto
monitor=HDMI-A-1,3440x1440@49,auto,auto
monitor=Virtual-1,2560x1080@50,auto,1
monitor=Virtual-1,5120x2160@50,auto,1.6


# -  - #
# - Working on VManager - #
# - Restart computer to show changes - #
monitor=Virtual-1,5120x2160@50,auto,1.6


# -  - #
# - Documentation - #
https://wiki.hypr.land/0.42.0/Configuring/Monitors/
monitor=name,resolution,position,scale


This will make the monitor on DP-1 a 1920x1080 display, 
at 144Hz, 0x0 off from the top left corner, 
with a scale of 1 (unscaled)
monitor=DP-1,1920x1080@144,0x0,1


will tell hyprland to make DP-1 on the left of DP-2
monitor=DP-1, 1920x1080, 0x0, 1
monitor=DP-2, 1920x1080, 1920x0, 1


will tell hyprland to make DP-1 on the right.
monitor=DP-1, 1920x1080, 1920x0, 1
monitor=DP-2, 1920x1080, 0x0, 1


will tell hyprland to make DP-2 above DP-1
monitor=DP-1, 1920x1080, 0x0, 1
monitor=DP-2, 1920x1080, 0x-1080, 1


will tell hyprland to make DP-2 below
monitor=DP-1, 1920x1080, 0x0, 1
monitor=DP-2, 1920x1080, 0x1080, 1


vim ~/.config/hypr/conf/monitors/2560*1440.conf;
monitor=,2560x1440,auto,1


vim ~/.config/hypr/monitors.conf;
monitor=,2560x1440,auto,1



# - eof - #