Add steam shortcut to desktop

This commit is contained in:
Adam Jafarov 2022-05-10 06:20:22 -07:00 committed by GitHub
parent 61da120ca2
commit a52db334e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,7 @@ full_install() {
mkdir /mnt/home/${HOLOUSER}/Desktop mkdir /mnt/home/${HOLOUSER}/Desktop
cp /etc/holoinstall/steamos-gamemode.desktop /mnt/home/${HOLOUSER}/Desktop/steamos-gamemode.desktop cp /etc/holoinstall/steamos-gamemode.desktop /mnt/home/${HOLOUSER}/Desktop/steamos-gamemode.desktop
arch-chroot ${HOLO_INSTALL_DIR} chmod +x /home/${HOLOUSER}/Desktop/steamos-gamemode.desktop arch-chroot ${HOLO_INSTALL_DIR} chmod +x /home/${HOLOUSER}/Desktop/steamos-gamemode.desktop
arch-chroot ${HOLO_INSTALL_DIR} ln -s /usr/share/applications/steam.desktop /home/${HOLOUSER}/Desktop/steam.desktop
arch-chroot ${HOLO_INSTALL_DIR} systemctl enable cups bluetooth sddm arch-chroot ${HOLO_INSTALL_DIR} systemctl enable cups bluetooth sddm
arch-chroot ${HOLO_INSTALL_DIR} usermod -a -G rfkill ${HOLOUSER} arch-chroot ${HOLO_INSTALL_DIR} usermod -a -G rfkill ${HOLOUSER}
arch-chroot ${HOLO_INSTALL_DIR} sudo -u ${HOLOUSER} steam arch-chroot ${HOLO_INSTALL_DIR} sudo -u ${HOLOUSER} steam