Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
fix: fixes for jackd script + updater
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Mar 8, 2024
1 parent 18e0a3a commit 60400fd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/files/shared/libexec/atomic-studio-cli/update.nu
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ export def "main update" [
$config_file = "/usr/share/ublue-os/topgrade.toml"
}

run-external topgrade '--config' '--keep' $config_file
topgrade --keep --config $config_file
}
15 changes: 6 additions & 9 deletions config/files/shared/libexec/studio-jackd-default
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
#!/usr/bin/env bash
pulseaudio -k
pactl load-module module-jack-source
pactl load-module module-jack-sink
jack_control start
jack_control ds alsa
jack_control dps rate 48000
jack_control dps nperiods 2
jack_control dps period 64
sleep 5sec
sleep 10
a2j_control --ehw
a2j_control --start

# Prevents the service from restarting a bunch of times for some reason
while true ; do
sleep 10000
done
sleep 10
pulseaudio -k
qjackctl &
pactl load-module module-jack-source
pactl load-module module-jack-sink
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ Comment=Update System, Flatpaks, Distrobox containers, and more
Icon=/usr/share/ublue-os/atomic-studio/icons/logo.png
Categories=ConsoleOnly;System;
Terminal=true
Exec=/usr/bin/konsole -e /usr/bin/studio-update
Exec=/usr/bin/konsole -e /usr/bin/studio update

0 comments on commit 60400fd

Please sign in to comment.