mirror of
https://github.com/tiyn/larbs.git
synced 2026-05-01 20:01:36 +02:00
Compare commits
2 Commits
3298a18fa6
...
1775c4fb8e
| Author | SHA1 | Date | |
|---|---|---|---|
| 1775c4fb8e | |||
| 45e12ac3c5 |
6
larbs.sh
6
larbs.sh
@@ -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
|
||||||
|
|
||||||
|
|||||||
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