mirror of
				https://github.com/AquaMorph/dotfiles.git
				synced 2025-11-04 01:03:19 +00:00 
			
		
		
		
	Start up system audio script
This commit is contained in:
		
							
								
								
									
										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'
 | 
				
			||||||
		Reference in New Issue
	
	Block a user