40 lines
789 B
Bash
Executable File
40 lines
789 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install Hyprland and related software
|
|
|
|
HYPR_PACKAGES=(
|
|
hyprland
|
|
hyprlock
|
|
hypridle
|
|
xdg-desktop-portal-hyprland
|
|
waybar
|
|
rofi-wayland
|
|
mako
|
|
wl-clipboard
|
|
wlogout
|
|
network-manager-applet
|
|
brightnessctl
|
|
alacritty
|
|
ttf-jetbrains-mono-nerd
|
|
ttf-jetbrains-mono
|
|
ttf-nerd-fonts-symbols
|
|
noto-fonts
|
|
noto-fonts-emoji
|
|
rose-pine-hyprcursor
|
|
)
|
|
|
|
to_install=()
|
|
for pkg in "${HYPR_PACKAGES[@]}"; do
|
|
if ! paru -Q "$pkg" &>/dev/null; then
|
|
to_install+=("$pkg")
|
|
fi
|
|
|
|
done
|
|
|
|
if [ "${#to_install[@]}" -gt 0 ]; then
|
|
paru -S --noconfirm "${to_install[@]}"
|
|
echo "Hyprland and related tools installed and configured."
|
|
export DOTFILES_PACKAGES_UPDATED=1
|
|
else
|
|
echo "All Hyprland and related tools already installed."
|
|
fi
|