Update update.sh
This commit is contained in:
parent
a82262d482
commit
12f0ee1275
15
update.sh
15
update.sh
@ -57,7 +57,7 @@ elif [ "$OS" == "Arch Linux" ]; then
|
|||||||
cd ~
|
cd ~
|
||||||
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
if [ -d ~/yay-bin ]; then rm -rf ~/yay-bin; fi
|
||||||
fi
|
fi
|
||||||
sudo pacman --noconfirm --needed -S waybar hyprland pipewire git base-devel cmake gawk wget gettext unzip curl tmux btop ncdu ranger qt5ct qt6ct gnome-themes-extra
|
sudo pacman --noconfirm --needed -S waybar hyprland hyprlock greetd pipewire git base-devel cmake gawk wget gettext unzip curl tmux btop ncdu ranger qt5ct qt6ct gnome-themes-extra
|
||||||
|
|
||||||
yay --noconfirm -S --needed --aur adwaita-qt5-git
|
yay --noconfirm -S --needed --aur adwaita-qt5-git
|
||||||
yay --noconfirm -S --needed --aur adwaita-qt6-git
|
yay --noconfirm -S --needed --aur adwaita-qt6-git
|
||||||
@ -450,12 +450,23 @@ if [ "$DESKTOP" == "yes" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Install timeshift
|
# Install timeshift
|
||||||
printf -- '\033[33m timeshift fd\n\033[37m'
|
printf -- '\033[33m Installing Timeshift\n\033[37m'
|
||||||
if [ "$OS" == "Ubuntu" ]; then
|
if [ "$OS" == "Ubuntu" ]; then
|
||||||
sudo apt install -y timeshift
|
sudo apt install -y timeshift
|
||||||
elif [ "$OS" == "Arch Linux" ]; then
|
elif [ "$OS" == "Arch Linux" ]; then
|
||||||
sudo pacman --noconfirm --needed -S timeshift
|
sudo pacman --noconfirm --needed -S timeshift
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Install sunshine
|
||||||
|
printf -- '\033[33m Installing Sunshine\n\033[37m'
|
||||||
|
if [ "$OS" == "Arch Linux" ]; then
|
||||||
|
yay --noconfirm --needed -S sunshine
|
||||||
|
echo 'KERNEL=="uinput", SUBSYSTEM=="misc", OPTIONS+="static_node=uinput", TAG+="uaccess"' | sudo tee /etc/udev/rules.d/60-sunshine.rules
|
||||||
|
sudo udevadm control --reload-rules
|
||||||
|
sudo udevadm trigger
|
||||||
|
sudo modprobe uinput
|
||||||
|
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user