Add Events filter
This commit is contained in:
		
							parent
							
								
									895f5f9373
								
							
						
					
					
						commit
						915c2ccbbf
					
				
					 5 changed files with 39 additions and 12 deletions
				
			
		|  | @ -99,7 +99,7 @@ case $action in | |||
| 		teamspeak-query-lib message --strict-client --client "$user" "$message" | ||||
| 		;; | ||||
| 	"events") | ||||
| 		teamspeak-query-lib events NotifyClientMoved NotifyClientEnterView NotifyClientLeftView NotifyTextMessage NotifyClientPoke \ | ||||
| 		teamspeak-query-lib events --filter=others NotifyClientMoved NotifyClientEnterView NotifyClientLeftView NotifyTextMessage NotifyClientPoke \ | ||||
| 			| jq -r --unbuffered '.message' \ | ||||
| 			| tee >(xargs -I{} notify-send "TS3 Event" "{}") | ||||
| esac | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue