1
0
mirror of https://github.com/tiyn/larbs.git synced 2026-04-02 14:44:48 +02:00

Resources: Set EasyEffects to start at boot

This commit is contained in:
2026-04-01 00:04:37 +02:00
parent 8a88129f0e
commit 45e12ac3c5
2 changed files with 17 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ esac done
[ -z "$repobranch" ] && repobranch="master" [ -z "$repobranch" ] && repobranch="master"
bashhook="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/bash-update.hook" bashhook="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/bash-update.hook"
easyeffectsservice="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/easyeffects.service"
### FUNCTIONS ### ### FUNCTIONS ###
@@ -224,6 +225,11 @@ chown -R "$name":wheel "/home/$name/.local"
ln -sfT /bin/dash /bin/sh ln -sfT /bin/dash /bin/sh
curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook curl $bashhook > /usr/share/libalpm/hooks/bash-update.hook
# Set easyeffects to start at boot
curl $easyeffectsservice > /home/$name/.config/systemd/user/easyeffects.service
systemctl --user daemon-reload
systemctl --user enable easyeffects.service
# Update pkgfile database for the command not found handler to work with zsh # Update pkgfile database for the command not found handler to work with zsh
pkgfile -u pkgfile -u

View File

@@ -0,0 +1,11 @@
[Unit]
Description=EasyEffects (GApplication Service)
After=pipewire.service wireplumber.service
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/easyeffects --gapplication-service
Restart=on-failure
[Install]
WantedBy=graphical-session.target