90 lines
3.9 KiB
Bash
90 lines
3.9 KiB
Bash
#!/bin/bash
|
|
|
|
echo "Installing required Packages"
|
|
sudo pacman -Syu --noconfirm hyprland hyprcursor wl-clipboard hyprpaper hyprlock wofi kitty alacritty dunst nwg-dock-hyprland nwg-drawer nwg-menu nwg-look python cmake meson cpio pkgconf ruby-pkg-config hyprsunset ksshaskpass nm-connection-editor network-manager-applet blueman bluez pipewire alsa-utils firefox greetd-tuigreet grim slurp gst-plugin-pipewire imagemagick nerd-fonts otf-font-awesome pipewire-alsa pipewire-jack pipewire-pulse qt5-wayland qt6-wayland swww ttf-jetbrains-mono wireplumber wofi qt6ct xdg-desktop-portal-hyprland xdg-utils xorg-server xorg-xinit papirus-icon-theme
|
|
echo "Installing AUR packages"
|
|
yay -Syu --answerdiff None --answerclean All hyprland-workspaces bluetuith wvkbd kew
|
|
|
|
rm -rf ~/.config/eww
|
|
read -n1 -p "Install eww bar for PC, Notebook or Tablet [P,N,T]" doit
|
|
case $doit in
|
|
n|N) ln -s ~/Dotfiles/desktopenvs/hyprland/eww/ ~/.config/ ;;
|
|
p|P) ln -s ~/Dotfiles/desktopenvs/hyprland/eww-nobattery/ ~/.config/eww ;;
|
|
t|T) ln -s ~/Dotfiles/desktopenvs/hyprland/eww-touch/ ~/.config/eww ;;
|
|
*) echo "enter a valid decision" ;;
|
|
esac
|
|
|
|
#eww compilation
|
|
echo "compiling EWW"
|
|
cd ~/install-tmp
|
|
git clone https://github.com/elkowar/eww
|
|
cd eww
|
|
cargo build --release --no-default-features --features=wayland
|
|
cd target/release
|
|
chmod +x ./eww
|
|
sudo cp ./eww /usr/bin
|
|
|
|
sudo cp -r ~/Dotfiles/gtk-themes/cyberqueer /usr/share/themes
|
|
sudo cp ~/Dotfiles/desktopenvs/hyprland/btop/themes/cyberqueer.theme /usr/share/btop/themes
|
|
sudo cp -f ~/Dotfiles/desktopenvs/hyprland/greetd-tuigreet/config.toml /etc/greetd/config.toml
|
|
|
|
sudo ln /usr/bin/ksshaskpass /usr/lib/ssh/ssh-askpass
|
|
cd ~/install-tmp
|
|
mkdir ~/.icons
|
|
wget https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz
|
|
tar -zxvf Nordzy-cursors-lefthand.tar.gz -C $HOME/.icons/
|
|
|
|
#cd ~/install-tmp
|
|
#wget https://ocs-dl.fra1.cdn.digitaloceanspaces.com/data/files/1482459209/papirus-icon-theme-violet-folders.tar.xz?response-content-disposition=attachment%3B%2520papirus-icon-theme-violet-folders.tar.xz&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=RWJAQUNCHT7V2NCLZ2AL%2F20250508%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250508T130703Z&X-Amz-SignedHeaders=host&X-Amz-Expires=3600&X-Amz-Signature=f5312ba5a0e8f5eda2da85b2528f4b4905bc5b28f99cd5becb23d51c4d8c3b34
|
|
#tar x -f papirus-icon-theme-violet-folders.tar.xz
|
|
#cp -r Papirus* ~/.icons
|
|
#gsettings set org.gnome.desktop.interface icon-theme Papirus-Dark
|
|
|
|
sudo systemctl enable bluez
|
|
hyprpm update
|
|
hyprpm add https://github.com/hyprwm/hyprland-plugins
|
|
|
|
rm -rf ~/.config/kitty
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/kitty/ ~/.config/
|
|
|
|
rm -rf ~/.config/hypr
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/hypr/ ~/.config/
|
|
|
|
rm -rf ~/.config/wofi
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/wofi/ ~/.config/
|
|
|
|
rm -rf ~/.config/dunst
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/
|
|
|
|
rm -rf ~/.config/alacritty
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/alacritty ~/.config/
|
|
|
|
rm -rf ~/.config/nwg-dock-hyprland
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/nwg-dock-hyprland ~/.config/
|
|
|
|
rm -rf ~/.config/nwg-drawer
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/nwg-drawer ~/.config
|
|
|
|
rm -rf ~/.config/nwg-panel
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/nwg-panel ~/.config
|
|
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/scripts ~/.config
|
|
|
|
rm -rf ~/.config/btop
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/btop ~/.config/
|
|
#ln -s ~/Dotfiles/desktopenvs/hyprland/gtk/* ~/.config
|
|
|
|
rm -rf ~/.config/gtk-3.0
|
|
ln -s ~/Dotfiles/desktopenvs/hyprland/gtk-3.0 ~/.config
|
|
|
|
#ln -s ~/Dotfiles/desktopenvs/hyprland/eww/ ~/.config/
|
|
#ln -s ~/Dotfiles/desktopenvs/hyprland/eww-nobattery/ ~/.config/eww
|
|
|
|
cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg
|
|
|
|
cp ~/Dotfiles/desktopenvs/hyprland/hypr-usr/* ~/.config
|
|
wget https://cloud.abdelbaki.eu/apps/theming/image/background?v=15 -O ~/Pictures/background.jpg
|
|
python -m venv ~/.config/python-script
|
|
~/.config/python-script/bin/pip install speedtest-cli
|
|
|