Format rule fields as a list
This commit is contained in:
		
							parent
							
								
									1e82c761c9
								
							
						
					
					
						commit
						3bb6df2f1e
					
				| @ -610,11 +610,28 @@ matched. | |||||||
| 
 | 
 | ||||||
| =item B<filtering> | =item B<filtering> | ||||||
| 
 | 
 | ||||||
| Notifications can be matched for any of the following attributes: appname, | Notifications can be matched for any of the following attributes: | ||||||
| summary, body, icon, category, match_transient, msg_urgency, and stack_tag where | 
 | ||||||
| each is the respective notification attribute to be matched and 'msg_urgency' is | =over 4 | ||||||
| the urgency of the notification, it is named so to not conflict with trying to | 
 | ||||||
| modify the urgency. | =item C<appname> | ||||||
|  | 
 | ||||||
|  | =item C<body> | ||||||
|  | 
 | ||||||
|  | =item C<category> | ||||||
|  | 
 | ||||||
|  | =item C<icon> | ||||||
|  | 
 | ||||||
|  | =item C<msg_urgency> | ||||||
|  | 
 | ||||||
|  | =item C<stack_tag> | ||||||
|  | 
 | ||||||
|  | =item C<summary> | ||||||
|  | 
 | ||||||
|  | =back | ||||||
|  | 
 | ||||||
|  | C<msg_urgency> is the urgency of the notification, it is named so to not conflict | ||||||
|  | with trying to modify the urgency. | ||||||
| 
 | 
 | ||||||
| To define a matching rule simply assign the specified value to the value that | To define a matching rule simply assign the specified value to the value that | ||||||
| should be matched, for example: | should be matched, for example: | ||||||
| @ -629,9 +646,31 @@ Shell-like globing is supported. | |||||||
| 
 | 
 | ||||||
| =item B<modifying> | =item B<modifying> | ||||||
| 
 | 
 | ||||||
| The following attributes can be overridden: timeout, urgency, foreground, | The following attributes can be overridden: | ||||||
| background, frame_color, new_icon, set_transient, format, fullscreen, | 
 | ||||||
| set_stack_tag where, as with the filtering attributes, each one corresponds to | =over 4 | ||||||
|  | 
 | ||||||
|  | =item C<background> | ||||||
|  | 
 | ||||||
|  | =item C<foreground> | ||||||
|  | 
 | ||||||
|  | =item C<format> | ||||||
|  | 
 | ||||||
|  | =item C<frame_color> | ||||||
|  | 
 | ||||||
|  | =item C<fullscreen> | ||||||
|  | 
 | ||||||
|  | =item C<new_icon> | ||||||
|  | 
 | ||||||
|  | =item C<set_stack_tag> | ||||||
|  | 
 | ||||||
|  | =item C<timeout> | ||||||
|  | 
 | ||||||
|  | =item C<urgency> | ||||||
|  | 
 | ||||||
|  | =back | ||||||
|  | 
 | ||||||
|  | As with the filtering attributes, each one corresponds to | ||||||
| the respective notification attribute to be modified. | the respective notification attribute to be modified. | ||||||
| 
 | 
 | ||||||
| As with filtering, to make a rule modify an attribute simply assign it in the | As with filtering, to make a rule modify an attribute simply assign it in the | ||||||
|  | |||||||
							
								
								
									
										25
									
								
								dunstrc
									
									
									
									
									
								
							
							
						
						
									
										25
									
								
								dunstrc
									
									
									
									
									
								
							| @ -297,10 +297,27 @@ | |||||||
| 
 | 
 | ||||||
| # Every section that isn't one of the above is interpreted as a rules to | # Every section that isn't one of the above is interpreted as a rules to | ||||||
| # override settings for certain messages. | # override settings for certain messages. | ||||||
| # Messages can be matched by "appname", "summary", "body", "icon", "category", | # | ||||||
| # "msg_urgency" and you can override the "timeout", "urgency", "foreground", | # Messages can be matched by | ||||||
| # "background", "frame_color", "new_icon" and "format", "fullscreen", | #    appname | ||||||
| # "stack_tag". | #    body | ||||||
|  | #    category | ||||||
|  | #    icon | ||||||
|  | #    msg_urgency | ||||||
|  | #    stack_tag | ||||||
|  | #    summary | ||||||
|  | # | ||||||
|  | # and you can override the | ||||||
|  | #    background | ||||||
|  | #    foreground | ||||||
|  | #    format | ||||||
|  | #    frame_color | ||||||
|  | #    fullscreen | ||||||
|  | #    new_icon | ||||||
|  | #    set_stack_tag | ||||||
|  | #    timeout | ||||||
|  | #    urgency | ||||||
|  | # | ||||||
| # Shell-like globbing will get expanded. | # Shell-like globbing will get expanded. | ||||||
| # | # | ||||||
| # SCRIPTING | # SCRIPTING | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Benedikt Heine
						Benedikt Heine