mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Start up system audio script
This commit is contained in:
parent
34cea0c7c8
commit
7ac78a5b58
19
scripts/system-start-audio.sh
Normal file
19
scripts/system-start-audio.sh
Normal file
@ -0,0 +1,19 @@
|
||||
#! /bin/bash
|
||||
|
||||
# Kill Pulse
|
||||
pulseaudio -k
|
||||
|
||||
# Start up jack
|
||||
cadence-session-start --system-start
|
||||
ladish_control sload Working7-27-19
|
||||
|
||||
# Dumb hack to make audio setup right
|
||||
for i in {1..10}
|
||||
do
|
||||
pulseaudio -k
|
||||
sleep 0.1
|
||||
pulseaudio -D
|
||||
done
|
||||
|
||||
# Start up music player
|
||||
sleep 20 && i3-msg 'workspace 10; exec google-play-music-desktop-player'
|
Loading…
x
Reference in New Issue
Block a user