mirror of
https://github.com/tiyn/larbs.git
synced 2026-04-02 06:34:49 +02:00
Resources: Set EasyEffects to start at boot
This commit is contained in:
6
larbs.sh
6
larbs.sh
@@ -16,6 +16,7 @@ esac done
|
||||
[ -z "$repobranch" ] && repobranch="master"
|
||||
|
||||
bashhook="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/bash-update.hook"
|
||||
easyeffectsservice="https://raw.githubusercontent.com/tiyn/LARBS/master/resources/easyeffects.service"
|
||||
|
||||
### FUNCTIONS ###
|
||||
|
||||
@@ -224,6 +225,11 @@ chown -R "$name":wheel "/home/$name/.local"
|
||||
ln -sfT /bin/dash /bin/sh
|
||||
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
|
||||
pkgfile -u
|
||||
|
||||
|
||||
11
resources/easyeffects.service
Normal file
11
resources/easyeffects.service
Normal 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
|
||||
Reference in New Issue
Block a user