Updated scripts

This commit is contained in:
Christoffer Martinsson 2025-07-21 15:39:45 +02:00
parent 2a22f5b068
commit 919b4f6d62
2 changed files with 23 additions and 2 deletions

View File

@ -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

View File

@ -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