Changed sunshine to new repo

This commit is contained in:
Christoffer Martinsson 2025-05-03 10:19:47 +02:00
parent 06937d8ce4
commit 01164583a1
4 changed files with 29 additions and 19 deletions

View File

@ -17,12 +17,13 @@ exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" #
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = udiskie
exec-once = sudo udisksctl mount -b /dev/sda1
# exec-once = sudo udisksctl mount -b /dev/sdb1
exec-once = waybar
exec-once = hypridle
exec-once = systemctl --user start sunshine
exec-once = [workspace 3] steam
exec-once = [workspace 1] org.vinegarhq.Sober
exec-once = [workspace 2] steam
#############################
### ENVIRONMENT VARIABLES ###
@ -131,7 +132,7 @@ input {
kb_rules =
kb_options = ctrl:nocaps, fkeys:basic_13-24
follow_mouse = 1
sensitivity = 0.4 # -1.0 - 1.0, 0 means no modification.
sensitivity = 0.0 # -1.0 - 1.0, 0 means no modification.
accel_profile = flat
touchpad {

View File

@ -1212,7 +1212,8 @@ confirm_os_window_close -1
#: Color scheme {{{
foreground #c6c6c6
background #000000
background #262626
#background #000000
#: The foreground and background colors.
@ -1316,7 +1317,8 @@ background #000000
#: How much to dim text that has the DIM/FAINT attribute set. One
#: means no dimming and zero means fully dimmed (i.e. invisible).
selection_foreground #000000
selection_foreground #262626
#selection_foreground #000000
selection_background #eeeeee
#: The foreground and background colors for text selected with the

View File

@ -7,8 +7,6 @@ StartLimitBurst=5
ExecStart=/usr/bin/sunshine
Restart=on-failure
RestartSec=5s
#Flatpak Only
#ExecStop=flatpak kill dev.lizardbyte.sunshine
[Install]
WantedBy=graphical-session.target

View File

@ -144,9 +144,9 @@ if [ "$NVIDIA_GPU" == "yes" ] || [ "$NVIDIA_1080_GPU" == "yes" ]; then
fi
if [ "$NVIDIA_GPU" == "yes" ]; then
sudo pacman --noconfirm --needed -S nvidia-open
sudo pacman --noconfirm --needed -S nvidia-open-dkms
elif [ "$NVIDIA_1080_GPU" == "yes" ]; then
sudo pacman --noconfirm --needed -S nvidia
sudo pacman --noconfirm --needed -S nvidia-dkms
fi
sudo pacman --noconfirm --needed -S nvidia-utils nvidia-settings opencl-nvidia cuda
@ -376,15 +376,22 @@ if [ "$DESKTOP_BASE" == "yes" ]; then
sudo pacman --noconfirm --needed -S noto-fonts poppler-data adobe-source-code-pro-fonts
printf -- '\033[33m Installing Sunshine\n\033[37m'
yay --noconfirm --needed -S sunshine
if ! grep -q "^\[lizardbyte\]" /etc/pacman.conf; then
sudo tee -a /etc/pacman.conf >/dev/null <<EOT
[lizardbyte]
SigLevel = Optional
Server = https://github.com/LizardByte/pacman-repo/releases/latest/download
EOT
sudo pacman -Sy
fi
sudo pacman --noconfirm --needed -S lizardbyte/sunshine
mkdir -p ~/.config/systemd/user
cp -f ~/linuxbox/config/systemd/user/sunshine.service ~/.config/systemd/user/sunshine.service
sudo udevadm control --reload-rules
sudo udevadm trigger
sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine))
sudo systemctl daemon-reload
systemctl --user enable sunshine
systemctl --user start sunshine
fi
if [ "$DESKTOP_WORK" == "yes" ]; then
@ -401,25 +408,27 @@ fi
# Install game utility
if [ "$GAME" == "yes" ]; then
printf -- '\033[33m Installing game utilities\n\033[37m'
sudo pacman -S --noconfirm --needed wine winetricks wine-mono wine-gecko
sudo pacman -S --noconfirm --needed wine-staging winetricks wine-mono wine-gecko
sudo pacman -S --noconfirm --needed steam
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
sudo pacman -S --noconfirm --needed fluidsynth gamemode gvfs libayatana-appindicator innoextract lib32-gamemode lib32-vkd3d python-pefile python-protobuf vulkan-icd-loader vkd3d lib32-vulkan-icd-loader vulkan-tools xorg-xgamma umu-launcher
sudo pacman -S --noconfirm --needed lutris
if [ "$HOSTNAME" == "SIMONBOX" ]; then
flatpak install -y flathub org.vinegarhq.Sober
sudo pacman -S --noconfirm --needed fluidsynth gamemode gvfs libayatana-appindicator innoextract lib32-gamemode lib32-vkd3d python-pefile python-protobuf vulkan-icd-loader vkd3d lib32-vulkan-icd-loader vulkan-tools xorg-xgamma umu-launcher
sudo pacman -S --noconfirm --needed lutris
fi
fi
# Install vr utility
if [ "$VR" == "yes" ]; then
printf -- '\033[33m Installing vr utilities\n\033[37m'
sudo pacman -S --noconfirm --needed bc git-lfs cli11 glib2-devel nlohmann-json
# yay --noconfirm -S --needed --aur libsurvive-git
yay --noconfirm -S --needed --aur monado-git
yay --noconfirm -S --needed --aur alvr-nvidia
yay --noconfirm -S --needed --aur wlx-overlay-s-git
yay --noconfirm -S --needed --aur monado-vulkan-layers-git
yay --noconfirm -S --needed --aur wlx-overlay-s-git
yay --noconfirm -S --needed --aur xrgear
yay --noconfirm -S --needed --aur envision-xr-git
fi