Clean-up
@@ -1,18 +1,4 @@
|
|||||||
## Changelogs
|
## Changelogs
|
||||||
|
|
||||||
## 30-Sep-2023
|
|
||||||
- replaced missioncenter with gnome-system-monitor
|
|
||||||
- added some wallpaper
|
|
||||||
|
|
||||||
## 27-Sep-2023
|
|
||||||
- remove auto start of portal-hyprland-hyprland
|
|
||||||
- removal of Virtual-1 monitor in Monitors.conf
|
|
||||||
|
|
||||||
## 25-Sep-2023
|
|
||||||
- added grub function to add nvidia_drm.modeset=1 for nvidia-grub users
|
|
||||||
|
|
||||||
## 14-Sep-2023
|
|
||||||
- Bump to v4
|
|
||||||
- Renamed repo to Hyprland-v4
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
34
README.md
@@ -2,19 +2,17 @@
|
|||||||
|
|
||||||
# 💌 ** JaKooLit's Arch Hyprland Install Script ** 💌
|
# 💌 ** JaKooLit's Arch Hyprland Install Script ** 💌
|
||||||
|
|
||||||
  
|
  
|
||||||
|
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
### A re-structured install script of my Hyprland-v3 [`Link`](https://github.com/JaKooLit/Hyprland-v3)
|
### Basically a copy of my Hyprland-v4 Hyprland-install script [`Link`](https://github.com/JaKooLit/Hyprland-v4)
|
||||||
|
|
||||||

|
<p align="center">
|
||||||
|
<img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Arch-Hyprland/dual-panel-light-dark-switch.png" /> <img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Arch-Hyprland/dual-panel-dark_light-switch.png" />
|
||||||

|
<img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Arch-Hyprland/gnome-style.png" /> <img align="center" width="49%" src="https://raw.githubusercontent.com/JaKooLit/screenshots/main/Arch-Hyprland/Plasma-Style.png" /> />
|
||||||
|
|
||||||
### 📷 you can find more screenshots in the screenshots directory
|
|
||||||
|
|
||||||
### 📽️ youtube video showcase: [`Youtube Link`](https://youtu.be/otda1nXJ5Dg?si=Wbb8eg-u3Y-tDnDQ)
|
### 📽️ youtube video showcase: [`Youtube Link`](https://youtu.be/otda1nXJ5Dg?si=Wbb8eg-u3Y-tDnDQ)
|
||||||
|
|
||||||
@@ -23,16 +21,10 @@
|
|||||||
### ✨ A video walk through my dotfiles[`Link`](https://youtu.be/fO-RBHvVEcc?si=ijqxxnq_DLiyO8xb)
|
### ✨ A video walk through my dotfiles[`Link`](https://youtu.be/fO-RBHvVEcc?si=ijqxxnq_DLiyO8xb)
|
||||||
|
|
||||||
|
|
||||||
### 🆕 What's new compared to my V3
|
### 🆕 What's new?
|
||||||
- restructured Install script
|
- Basically just a clone of my Hyprland-v4. Just renamed and cleaned up codes.
|
||||||
- Can modify the packages easily. (install-scripts/00-hypr-pkgs.sh) edit as desired
|
- Concentrated on Tokyo Themes and Tokyo Night SE icons only
|
||||||
- Added Tokyo-night-theme and TokyoNight-SE icons
|
- Downloading of dot files will be a centralized repo
|
||||||
- using dunst instead of mako
|
|
||||||
- Added Tokyo-Night SDDM Theme
|
|
||||||
- Use a wofi-power menu instead of wlogout
|
|
||||||
- Added the following:
|
|
||||||
- a. gnome-system-monitor - right click on cpu waybar module
|
|
||||||
- b. nvtop - right click on temperature waybar module
|
|
||||||
|
|
||||||
|
|
||||||
### 👀 NVidia GPU Owners.
|
### 👀 NVidia GPU Owners.
|
||||||
@@ -42,10 +34,10 @@
|
|||||||
### ✨ to run
|
### ✨ to run
|
||||||
> clone this repo by using git. Change directory, make executable and run the script
|
> clone this repo by using git. Change directory, make executable and run the script
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/JaKooLit/Hyprland-v4.git
|
git clone https://github.com/JaKooLit/Arch-Hyprland.git
|
||||||
cd Hyprland-v4
|
cd Arch-Hyprland
|
||||||
chmod +x install-v4.sh
|
chmod +x install.sh
|
||||||
./install-v4.sh
|
./install.sh
|
||||||
```
|
```
|
||||||
### ✨ for ZSH and OH-MY-ZSH installation
|
### ✨ for ZSH and OH-MY-ZSH installation
|
||||||
> do this once installed and script completed; do the following to change the default shell zsh
|
> do this once installed and script completed; do the following to change the default shell zsh
|
||||||
|
|||||||
@@ -59,48 +59,25 @@ install_package() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# installing unzip package to unzip theme packages
|
||||||
|
for PKG1 in unzip; do
|
||||||
|
install_package "$PKG1" 2>&1 | tee -a "$LOG"
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo -e "\033[1A\033[K${ERROR} - $PKG1 install had failed, please check the install.log"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
# Themes and cursors
|
# Themes and cursors
|
||||||
printf "\n${NOTE} INSTALLING GTK THEMES \n"
|
printf "${NOTE} Installing Tokyo Theme GTK packages...\n"
|
||||||
while true; do
|
if wget https://github.com/ljmill/tokyo-night-icons/releases/download/v0.2.0/TokyoNight-SE.tar.bz2; then
|
||||||
read -rp "${CAT} Which GTK Theme and Cursors to install? Catppuccin or Tokyo Theme? Enter 'c' or 't': " choice
|
|
||||||
case "$choice" in
|
|
||||||
c|C)
|
|
||||||
printf "${NOTE} Installing Catpuccin Theme packages...\n"
|
|
||||||
for THEME1 in catppuccin-gtk-theme-mocha catppuccin-gtk-theme-latte catppuccin-cursors-mocha; do
|
|
||||||
install_package "$THEME1" 2>&1 | tee -a "$LOG"
|
|
||||||
[ $? -ne 0 ] && { echo -e "\e[1A\e[K${ERROR} - $THEME1 install had failed, please check the install.log"; exit 1; }
|
|
||||||
done
|
|
||||||
# Shiny-Dark-Icons-themes
|
|
||||||
mkdir -p ~/.icons
|
|
||||||
cd assets
|
|
||||||
tar -xf Shiny-Dark-Icons.tar.gz -C ~/.icons
|
|
||||||
tar -xf Shiny-Light-Icons.tar.gz -C ~/.icons
|
|
||||||
cd ..
|
|
||||||
sed -i '9,12s/#//' config/hypr/scripts/DarkLight.sh
|
|
||||||
sed -i '9,12s/#//' config/hypr/scripts/DarkLight-swaybg.sh
|
|
||||||
sed -i '31s/#//' config/hypr/configs/Settings.conf
|
|
||||||
cp -f 'config/hypr/waybar/style/dark-styles/style-dark-cat.css' 'config/hypr/waybar/style/style-dark.css'
|
|
||||||
break
|
|
||||||
;;
|
|
||||||
t|T)
|
|
||||||
printf "${NOTE} Installing Tokyo Theme packages...\n"
|
|
||||||
wget https://github.com/ljmill/tokyo-night-icons/releases/download/v0.2.0/TokyoNight-SE.tar.bz2
|
|
||||||
mkdir -p ~/.icons
|
mkdir -p ~/.icons
|
||||||
tar -xvjf TokyoNight-SE.tar.bz2 -C ~/.icons
|
tar -xvjf TokyoNight-SE.tar.bz2 -C ~/.icons
|
||||||
mkdir -p ~/.themes
|
mkdir -p ~/.themes
|
||||||
cp -r -f assets/tokyo-themes/* ~/.themes/
|
unzip -q "assets/tokyo-themes/Tokyonight-Dark-B.zip" -d ~/.themes || true
|
||||||
sed -i '15,18s/#//' config/hypr/scripts/DarkLight.sh
|
unzip -q "assets/tokyo-themes/Tokyonight-Light-B.zip" -d ~/.themes || true
|
||||||
sed -i '15,18s/#//' config/hypr/scripts/DarkLight-swaybg.sh
|
else
|
||||||
sed -i '32s/#//' config/hypr/configs/Settings.conf
|
echo -e "${ERROR} Download failed for Tokyo Theme GTK packages."
|
||||||
cp -f 'config/hypr/waybar/style/dark-styles/style-dark-tokyo.css' 'config/hypr/waybar/style/style-dark.css'
|
fi
|
||||||
break
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
printf "%s - Invalid choice. Please enter 'c' or 't'\n" "${ERROR}"
|
|
||||||
continue
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
|||||||
@@ -49,20 +49,17 @@ install_package() {
|
|||||||
# nvidia stuff
|
# nvidia stuff
|
||||||
printf "${YELLOW}Installing Nvidia Hyprland...${RESET}\n"
|
printf "${YELLOW}Installing Nvidia Hyprland...${RESET}\n"
|
||||||
if pacman -Qs hyprland > /dev/null; then
|
if pacman -Qs hyprland > /dev/null; then
|
||||||
read -n1 -rp "${CAT} Hyprland detected. Would you like to remove and install hyprland-nvidia instead? (y/n) " nvidia_hypr
|
printf "${YELLOW} Hyprland detected uninstalling to install Hyprland-nvidia-git...${RESET}\n"
|
||||||
echo
|
for hyprnvi in hyprland hyprland-nvidia hyprland-git hyprland-nvidia-hidpi-git; do
|
||||||
if [[ $nvidia_hypr =~ ^[Yy]$ ]]; then
|
|
||||||
for hyprnvi in hyprland hyprland-nvidia hyprland-nvidia-hidpi-git; do
|
|
||||||
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
sudo pacman -R --noconfirm "$hyprnvi" 2>/dev/null | tee -a "$LOG" || true
|
||||||
done
|
done
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# install hyprland-nvidia-git
|
# install hyprland-nvidia-git
|
||||||
install_package "hyprland-nvidia-git" 2>&1 | tee -a "$LOG"
|
install_package "hyprland-nvidia-git" 2>&1 | tee -a "$LOG"
|
||||||
|
|
||||||
# Install additional Nvidia packages
|
# Install additional Nvidia packages
|
||||||
printf "${YELLOW} Installing Nvidia packages...\n"
|
printf "${YELLOW} Installing addition Nvidia packages...\n"
|
||||||
for krnl in $(cat /usr/lib/modules/*/pkgbase); do
|
for krnl in $(cat /usr/lib/modules/*/pkgbase); do
|
||||||
for NVIDIA in "${krnl}-headers" "${nvidia_pkg[@]}"; do
|
for NVIDIA in "${krnl}-headers" "${nvidia_pkg[@]}"; do
|
||||||
install_package "$NVIDIA" 2>&1 | tee -a "$LOG"
|
install_package "$NVIDIA" 2>&1 | tee -a "$LOG"
|
||||||
@@ -78,12 +75,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sudo mkinitcpio -P 2>&1 | tee -a "$LOG"
|
sudo mkinitcpio -P 2>&1 | tee -a "$LOG"
|
||||||
printf "\n"
|
printf "\n\n\n"
|
||||||
printf "\n"
|
|
||||||
printf "\n"
|
|
||||||
|
|
||||||
# Preparing exec.conf to enable env = WLR_NO_HARDWARE_CURSORS,1 so it will be ready once config files copied
|
|
||||||
sed -i '21s/#//' config/hypr/configs/ENVariables.conf
|
|
||||||
|
|
||||||
# Additional Nvidia steps
|
# Additional Nvidia steps
|
||||||
NVEA="/etc/modprobe.d/nvidia.conf"
|
NVEA="/etc/modprobe.d/nvidia.conf"
|
||||||
|
|||||||
@@ -57,6 +57,5 @@ install_package() {
|
|||||||
done
|
done
|
||||||
printf " Activating ROG services...\n"
|
printf " Activating ROG services...\n"
|
||||||
sudo systemctl enable --now supergfxd 2>&1 | tee -a "$LOG"
|
sudo systemctl enable --now supergfxd 2>&1 | tee -a "$LOG"
|
||||||
sed -i '20s/#//' config/hypr/configs/Execs.conf
|
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
Before Width: | Height: | Size: 289 KiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 618 KiB |
|
Before Width: | Height: | Size: 2.7 MiB |
|
Before Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 2.1 MiB |
|
Before Width: | Height: | Size: 285 KiB |
|
Before Width: | Height: | Size: 442 KiB |
|
Before Width: | Height: | Size: 69 KiB |