Kaynağa Gözat

fix wireplumber launch in userland

add mangohud configs
Casey DeLorme 2 ay önce
ebeveyn
işleme
a3a73920d5
2 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. 4 1
      arch.sh
  2. 2 0
      install/etc/skel/.bash_profile

+ 4 - 1
arch.sh

@@ -130,7 +130,7 @@ pacman -Syu --noconfirm $PACKAGES
 rsync -Pav /srv/arch-desktop/install/ /
 mkdir -p /etc/skel/{desktop,downloads,public,public/templates,documents,music,pictures,videos,code}
 # @todo: verify if these is necessary /w pipewire-pulse
-mkdir -p /etc/skel/.config/pulse
+#mkdir -p /etc/skel/.config/pulse
 # sed "/module-suspend-on-idle/d" /etc/pulse/default.pa > /etc/skel/.config/pulse/default.pa
 # sed -i "/module-switch-on-port-available/d" /etc/skel/.config/pulse/default.pa
 rsync -Pav /etc/skel/ "$(getent passwd root | cut -d: -f6)/"
@@ -228,6 +228,9 @@ update-desktop-database
 # generate default (passwordless) ed25519 ssh key if none exists
 su $username -c "cd; if [ ! -f ~/.ssh/id_ed25519 ]; then ssh-keygen -q -t ed25519 -N '' -f ~/.ssh/id_ed25519 && cd && chmod 600 ~/.ssh/id_ed25519 && chmod 600 ~/.ssh/id_ed25519.pub; fi"
 
+# enable wireplumber for user
+su $username -c "cd; systemctl --user enable wireplumber.service"
+
 # install gvm loading from ~/.bashrc & ~/.bash_profile, and the latest go version
 su $username -c "if [ ! -d ~/.gvm ]; then GVM_NO_UPDATE_PROFILE=1 bash < <(curl -Ls https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer 2> /dev/null); fi"
 su $username -c 'grep "gvm" ~/.bash_profile &> /dev/null || echo -e "\n# load gvm\n[ -s $HOME/.gvm/scripts/gvm ] && . $HOME/.gvm/scripts/gvm" >> ~/.bash_profile'

+ 2 - 0
install/etc/skel/.bash_profile

@@ -29,6 +29,8 @@ export SDL_VIDEODRIVER="wayland,x11"
 export XDG_CURRENT_DESKTOP=Unity
 export WINE_FULLSCREEN_FSR=1
 export RADV_PERFTEST=gpl
+export MANGOHUD_CONFIG="no_display,cpu_temp,gpu_temp"
+export MANGOHUD=1
 
 # if bashrc exists and the terminal has stdin load it
 test -t 0 && . "$HOME/.bashrc"