Added Hypridle, Networkmanager, waybar
This commit is contained in:
@@ -20,25 +20,25 @@ sudo pacman -Suyy --noconfirm
|
||||
# Update all AUR packages
|
||||
printf -- '\033[33m Updating AUR packages\n\033[37m'
|
||||
if pacman -Qs yay >/dev/null; then
|
||||
yay --noconfirm --aur
|
||||
yay --noconfirm --aur
|
||||
else
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
||||
cd ~
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg --noconfirm -si
|
||||
cd ~
|
||||
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
||||
sudo pacman -S --needed --noconfirm git base-devel
|
||||
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
||||
cd ~
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg --noconfirm -si
|
||||
cd ~
|
||||
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
||||
fi
|
||||
# Update all Flatpak packages
|
||||
printf -- '\033[33m Updating Flatpak packages\n\033[37m'
|
||||
if pacman -Qs flatpak >/dev/null; then
|
||||
flatpak update -y
|
||||
flatpak update -y
|
||||
else
|
||||
sudo pacman --noconfirm --needed -S flatpak
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install -y flathub com.github.tchx84.Flatseal
|
||||
sudo pacman --noconfirm --needed -S flatpak
|
||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak install -y flathub com.github.tchx84.Flatseal
|
||||
fi
|
||||
|
||||
# Install initial system packages
|
||||
@@ -56,11 +56,34 @@ ln -sf ~/code_server/gitconfig ~/.gitconfig
|
||||
|
||||
# Install hyprland
|
||||
printf -- '\033[33m Installing hyprland\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S dunst waybar rofi hyprland hyprlock polkit-gnome xorg-xhost gnome-keyring pipewire qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance
|
||||
sudo pacman --noconfirm --needed -S plymouth dracut dunst hypridle hyprland hyprlock polkit-gnome xorg-xhost gnome-keyring qt5ct qt6ct gnome-themes-extra qt5-wayland qt6-wayland lxappearance
|
||||
yay --noconfirm -S --needed --aur adwaita-qt5-git
|
||||
yay --noconfirm -S --needed --aur adwaita-qt6-git
|
||||
yay --noconfirm -S --needed --aur wlogout
|
||||
|
||||
mkdir -p ~/.config/hypr
|
||||
ln -sf ~/code_server/config/hypr/hyprland.conf ~/.config/hypr/hyprland.conf
|
||||
ln -sf ~/code_server/config/hypr/hypridle.conf ~/.config/hypr/hypridle.conf
|
||||
|
||||
# Install rofi
|
||||
printf -- '\033[33m Installing rofi\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S rofi-wayland
|
||||
|
||||
# Install waybar
|
||||
printf -- '\033[33m Installing waybar\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S waybar
|
||||
ln -sf ~/code_server/config/waybar/config ~/.config/waybar/config
|
||||
ln -sf ~/code_server/config/waybar/style.css ~/.config/waybar/style.css
|
||||
|
||||
# Install Audio
|
||||
printf -- '\033[33m Installing Audio\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S pipewire pipewire-pulse pavucontrol helvum
|
||||
|
||||
# Install networkmanager
|
||||
printf -- '\033[33m Installing networkmanager\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S network-manager-applet
|
||||
yay --noconfirm -S --needed --aur networkmanager-dmenu-git
|
||||
ln -sf ~/code_server/config/networkmanager-dmenu/config.ini ~/.config/networkmanager-dmenu/config.ini
|
||||
|
||||
# Install autologin
|
||||
printf -- '\033[33m Installing autologin\n\033[37m'
|
||||
@@ -117,12 +140,12 @@ sudo mv virtualhereclient.service /etc/systemd/system/virtualhereclient.service
|
||||
|
||||
# Install teensy udev rules (only for non docker system)
|
||||
if [ ! -f /.dockerenv ]; then
|
||||
printf -- '\033[33m Installing teensy udev rules\n\033[37m'
|
||||
sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo wget -O /tmp/00-teensy.rules https://www.pjrc.com/teensy/00-teensy.rules
|
||||
sudo install -o root -g root -m 0664 /tmp/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger
|
||||
printf -- '\033[33m Installing teensy udev rules\n\033[37m'
|
||||
sudo rm -f /tmp/00-teensy.rules /etc/udev/rules.d/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo wget -O /tmp/00-teensy.rules https://www.pjrc.com/teensy/00-teensy.rules
|
||||
sudo install -o root -g root -m 0664 /tmp/00-teensy.rules /lib/udev/rules.d/00-teensy.rules
|
||||
sudo udevadm control --reload-rules
|
||||
sudo udevadm trigger
|
||||
fi
|
||||
|
||||
# Install neovim
|
||||
@@ -249,11 +272,15 @@ flatpak install -y flathub org.kde.krita
|
||||
|
||||
# Install KiCad
|
||||
printf -- '\033[33m Installing KiCad\n\033[37m'
|
||||
flatpak install -y flathub org.kicad.KiCad
|
||||
sudo pacman --noconfirm --needed -S kicad
|
||||
|
||||
# Install FreeCad
|
||||
printf -- '\033[33m Installing FreeCad\n\033[37m'
|
||||
flatpak install -y flathub org.freecadweb.FreeCAD
|
||||
sudo pacman --noconfirm --needed -S freecad
|
||||
|
||||
# Install Prusaslicer
|
||||
printf -- '\033[33m Installing Prusaslicer\n\033[37m'
|
||||
flatpak install -y flathub com.prusa3d.PrusaSlicer
|
||||
|
||||
# Install Moonlight
|
||||
printf -- '\033[33m Installing Moonlight\n\033[37m'
|
||||
@@ -297,9 +324,6 @@ sudo pacman --noconfirm --needed -S virtualbox virtualbox-guest-iso
|
||||
yay --noconfirm -S --needed --aur virtualbox-ext-oracle
|
||||
sudo usermod -a -G vboxusers "$USER"
|
||||
|
||||
printf -- '\033[33m Installing Audio control\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S pavucontrol helvum
|
||||
|
||||
# Install timeshift
|
||||
printf -- '\033[33m Installing Timeshift\n\033[37m'
|
||||
sudo pacman --noconfirm --needed -S timeshift
|
||||
|
||||
Reference in New Issue
Block a user