Przeglądaj źródła

enable gamemoded user unit file

Casey DeLorme 2 miesięcy temu
rodzic
commit
cb720bbd01
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      arch.sh

+ 2 - 1
arch.sh

@@ -228,8 +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
+# enable userspace systemd units
 su $username -c "cd; systemctl --user enable wireplumber.service"
+su $username -c "cd; systemctl --user enable gamemoded.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"