mirror of
https://github.com/philmmanjaro/alma.git
synced 2025-07-25 22:49:28 +02:00
39 lines
2.7 KiB
TOML
39 lines
2.7 KiB
TOML
packages = ["steam", "gamescope-session-git", "gamescope-plus", "wget", "vulkan-icd-loader", "lib32-vulkan-icd-loader", "vulkan-intel", "lib32-vulkan-intel", "vulkan-radeon", "lib32-vulkan-radeon", "ttf-liberation", "adobe-source-sans-pro-fonts", "adobe-source-han-sans-jp-fonts", "adobe-source-han-sans-kr-fonts", "adobe-source-han-sans-cn-fonts", "mangohud", "lib32-mangohud", "qt5-virtualkeyboard"]
|
|
script = """
|
|
set -eux
|
|
|
|
wget -v https://gitlab.com/evlaV/jupiter_steam-jupiter-stable-PKGBUILD/-/raw/5cd60f3cd66527a95f93e6fefd9371fd659a5aea/steam_jupiter_stable_bootstrapped_20230316.1.tar.xz -O /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz
|
|
|
|
mkdir -p /etc/sddm.conf.d
|
|
echo "# Created by Manjaro ALMA" > /etc/sddm.conf.d/manjaro.conf
|
|
echo "[General]" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "DisplayServer=wayland" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "[Autologin]" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "Relogin=true" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "Session=gamescope-session.desktop" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "User=${ALMA_USER}" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "[X11]" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "# Janky workaround for wayland sessions not stopping in sddm, kills" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "# all active sddm-helper sessions on teardown" >> /etc/sddm.conf.d/manjaro.conf
|
|
echo "DisplayStopCommand=/usr/bin/gamescope-wayland-teardown-workaround" >> /etc/sddm.conf.d/manjaro.conf
|
|
|
|
echo "[General]" > /etc/sddm.conf.d/virtualkbd.conf
|
|
echo "InputMethod=qtvirtualkeyboard" >> /etc/sddm.conf.d/virtualkbd.conf
|
|
|
|
install -Dm755 /shared_dirs/steam/steamos-gamemode.desktop -t /home/${ALMA_USER}/Desktop
|
|
install -Dm644 /shared_dirs/steam/org.manjaro.host.policy -t /usr/share/polkit-1/actions
|
|
install -Dm644 /shared_dirs/steam/org.manjaro.priv.write.policy -t /usr/share/polkit-1/actions
|
|
install -Dm644 /shared_dirs/steam/org.manjaro.session.select.policy -t /usr/share/polkit-1/actions
|
|
install -Dm644 /shared_dirs/steam/steamdeck-gaming-return.svg -t /usr/share/icons/hicolor/64x64/apps
|
|
install -Dm755 /shared_dirs/steam/steamos-priv-write -t /usr/bin/steamos-polkit-helpers
|
|
install -Dm755 /shared_dirs/steam/os-session-select -t /usr/lib
|
|
install -Dm755 /shared_dirs/steam/steamos-set-hostname -t /usr/bin/steamos-polkit-helpers
|
|
install -Dm755 /shared_dirs/steam/steamos-set-timezone -t /usr/bin/steamos-polkit-helpers
|
|
install -Dm755 /shared_dirs/steam/gamescope-wayland-teardown-workaround -t /usr/bin
|
|
install -Dm755 /shared_dirs/steam/startplasma-steamos-oneshot -t /usr/bin
|
|
install -Dm755 /shared_dirs/steam/plasma-steamos-oneshot.desktop -t /usr/share/xsessions
|
|
chown -R ${ALMA_USER}:${ALMA_USER} /home/${ALMA_USER}
|
|
"""
|
|
environment_variables = ["ALMA_USER"]
|
|
shared_directories = ["steam"]
|