Change default layer to overlay, add note about pushback
This commit is contained in:
		
							parent
							
								
									756f822a6b
								
							
						
					
					
						commit
						3441f4c68d
					
				
							
								
								
									
										2
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								config.h
									
									
									
									
									
								
							| @ -126,7 +126,7 @@ struct settings defaults = { | ||||
| 
 | ||||
| .progress_bar = true, | ||||
| 
 | ||||
| .layer = ZWLR_LAYER_SHELL_V1_LAYER_TOP, | ||||
| .layer = ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY, | ||||
| }; | ||||
| 
 | ||||
| struct rule default_rules[] = { | ||||
|  | ||||
| @ -278,9 +278,12 @@ Place dunst notifications on the selected layer. Using overlay | ||||
| will cause notifications to be displayed above fullscreen windows, though | ||||
| this may also occur at top depending on your compositor. | ||||
| 
 | ||||
| In Wayland, Notifications won't be delayed when in fullscreen (like when | ||||
| setting B<fullscreen> to pushback in X11). This is a Wayland limitation. | ||||
| 
 | ||||
| The bottom layer is below all windows and above the background. | ||||
| 
 | ||||
| Default: top | ||||
| Default: overlay | ||||
| 
 | ||||
| =item B<force_xwayland> (values: [true/false], default: false) (Wayland only) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										6
									
								
								dunstrc
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								dunstrc
									
									
									
									
									
								
							| @ -250,9 +250,9 @@ | ||||
|     ### Wayland ### | ||||
|     # These settings are Wayland-specific. They have no effect when using X11 | ||||
| 
 | ||||
|     # Uncomment this if you want to let notications appear over fullscreen | ||||
|     # notifications (default top) | ||||
|     # layer = overlay | ||||
|     # Uncomment this if you want to let notications appear under fullscreen | ||||
|     # applications (default: overlay) | ||||
|     # layer = top | ||||
| 
 | ||||
|     # Set this to true to use X11 output on Wayland. | ||||
|     force_xwayland = false | ||||
|  | ||||
| @ -495,7 +495,7 @@ void load_settings(char *cmdline_config_path) | ||||
|         { | ||||
|                 char *c = option_get_string( | ||||
|                         "global", | ||||
|                         "layer", "-layer", "top", | ||||
|                         "layer", "-layer", "overlay", | ||||
|                         "Select the layer where notifications should be placed" | ||||
|                 ); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 fwsmit
						fwsmit