diff --git a/config/hypr/hyprland_STEAMBOX.conf b/config/hypr/hyprland_STEAMBOX.conf index d14e252..e1766bd 100644 --- a/config/hypr/hyprland_STEAMBOX.conf +++ b/config/hypr/hyprland_STEAMBOX.conf @@ -2,7 +2,7 @@ exec-once = /home/cm/linuxbox/set-xr18-2ch.sh exec-once = sudo udisksctl mount -b /dev/sda1 exec-once = systemctl --user start hypridle exec-once = cameractrls -d /dev/video0 -c auto_exposure=manual_mode,white_balance_automatic=0,gain_automatic=1,exposure=255,saturation=0 -exec-once = sh ~/Games/star-citizen/sc-launch.sh +exec-once = ~/Games/opentrack/build/install/bin/opentrack -platform xcb env = GBM_BACKEND, nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME, nvidia bind = $mainMod, W, togglespecialworkspace, web diff --git a/update_arch.sh b/update_arch.sh index 96c2536..2514fff 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -351,9 +351,30 @@ if [ "${ROLES[GAME]}" == "yes" ]; then sudo pacman -S --noconfirm --needed winetricks onnxruntime mangohud lib32-mangohud gamemode yay --noconfirm -S --needed --aur protonup-qt protontricks yay --noconfirm -S --needed --aur lug-helper - yay --noconfirm -S --needed --aur opentrack-git yay --noconfirm -S --needed --aur openmpi + if ! -d ~/Games/opentrack; then + mkdir -p ~/Games + cd ~/Games + git clone https://github.com/opentrack/opentrack + cd opentrack/ + mkdir build + cd build + cmake .. + ccmake . + make + make install + echo "[Desktop Entry] +Version=3.1.0 +Type=Application +Name=Opentrack +Exec=~/Games/opentrack/build/install/bin/opentrack -platform xcb +Icon=~/Games/opentrack/contrib/cute-octopus-vector-material_15-1831.jpg +Terminal=false +StartupNotify=true" | sudo tee /usr/share/applications/opentrack.desktop >/dev/null + sudo update-desktop-database /usr/share/applications + fi + if [ "$HOSTNAME" == "SIMONBOX" ]; then printf -- '\033[33m Installing Simon specific game utilities\n\033[37m' flatpak install -y flathub org.vinegarhq.Sober