mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	Fix notification example (#416)
Co-authored-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/416 Reviewed-by: Norwin <noerw@noreply.gitea.io> Reviewed-by: techknowlogick <techknowlogick@gitea.io> Co-authored-by: justusbunsi <justusbunsi@noreply.gitea.io> Co-committed-by: justusbunsi <justusbunsi@noreply.gitea.io>
This commit is contained in:
		 justusbunsi
					justusbunsi
				
			
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			 techknowlogick
						techknowlogick
					
				
			
						parent
						
							555f1ae516
						
					
				
				
					commit
					42e423470c
				
			| @@ -58,7 +58,7 @@ | |||||||
|    tea open milestones                 # open web ui for milestones |    tea open milestones                 # open web ui for milestones | ||||||
|  |  | ||||||
|    # send gitea desktop notifications every 5 minutes (bash + libnotify) |    # send gitea desktop notifications every 5 minutes (bash + libnotify) | ||||||
|    while :; do tea notifications --all -o simple | xargs -i notify-send {}; sleep 300; done |    while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done | ||||||
|  |  | ||||||
|  ABOUT |  ABOUT | ||||||
|    Written & maintained by The Gitea Authors. |    Written & maintained by The Gitea Authors. | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @@ -108,7 +108,7 @@ var helpTemplate = bold(` | |||||||
|    tea open milestones                 # open web ui for milestones |    tea open milestones                 # open web ui for milestones | ||||||
|  |  | ||||||
|    # send gitea desktop notifications every 5 minutes (bash + libnotify) |    # send gitea desktop notifications every 5 minutes (bash + libnotify) | ||||||
|    while :; do tea notifications --all -o simple | xargs -i notify-send {}; sleep 300; done |    while :; do tea notifications --mine -o simple | xargs -i notify-send {}; sleep 300; done | ||||||
|  |  | ||||||
|  ABOUT |  ABOUT | ||||||
|    Written & maintained by The Gitea Authors. |    Written & maintained by The Gitea Authors. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user