Refactor ts-control with bashly
This commit is contained in:
		
							parent
							
								
									93ebbbd5d2
								
							
						
					
					
						commit
						7694bf365c
					
				
					 21 changed files with 217 additions and 175 deletions
				
			
		
							
								
								
									
										5
									
								
								control_src/events_command.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								control_src/events_command.sh
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| teamspeak-query-lib events --filter=others \ | ||||
|   NotifyClientMoved NotifyClientEnterView NotifyClientLeftView \ | ||||
|   NotifyTextMessage NotifyClientPoke \ | ||||
| 	| jq -r --unbuffered '.message' \ | ||||
| 	| tee >(xargs -I{} notify-send "TS3 Event" "{}") | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue