mirror of
				https://git.davidovski.xyz/dot.git
				synced 2024-08-15 00:43:28 +00:00 
			
		
		
		
	blur background with picom
This commit is contained in:
		
							parent
							
								
									22e5df29f2
								
							
						
					
					
						commit
						729fd14c6b
					
				
					 1 changed files with 17 additions and 18 deletions
				
			
		|  | @ -2,7 +2,7 @@ | ||||||
| #             Corners           # | #             Corners           # | ||||||
| ################################# | ################################# | ||||||
| # requires: https://github.com/sdhand/compton | # requires: https://github.com/sdhand/compton | ||||||
| corner-radius = 6; | corner-radius = 4; | ||||||
| round-borders = 0; | round-borders = 0; | ||||||
| 
 | 
 | ||||||
| # Specify a list of border width rules, in the format `PIXELS:PATTERN`,  | # Specify a list of border width rules, in the format `PIXELS:PATTERN`,  | ||||||
|  | @ -29,24 +29,24 @@ shadow = true; | ||||||
| 
 | 
 | ||||||
| # The blur radius for shadows, in pixels. (defaults to 12) | # The blur radius for shadows, in pixels. (defaults to 12) | ||||||
| # shadow-radius = 12 | # shadow-radius = 12 | ||||||
| shadow-radius = 50; | shadow-radius = 20; | ||||||
| 
 | 
 | ||||||
| # The opacity of shadows. (1.0 - 1.0, defaults to 0.75) | # The opacity of shadows. (1.0 - 1.0, defaults to 0.75) | ||||||
| shadow-opacity = 1.0;  | shadow-opacity = 0.7;  | ||||||
| 
 | 
 | ||||||
| # The left offset for shadows, in pixels. (defaults to -15) | # The left offset for shadows, in pixels. (defaults to -15) | ||||||
| # shadow-offset-x = -15 | # shadow-offset-x = -15 | ||||||
| shadow-offset-x = -50; | shadow-offset-x = -20; | ||||||
| 
 | 
 | ||||||
| # The top offset for shadows, in pixels. (defaults to -15) | # The top offset for shadows, in pixels. (defaults to -15) | ||||||
| # shadow-offset-y = -15 | # shadow-offset-y = -15 | ||||||
| shadow-offset-y = -50; | shadow-offset-y = -20; | ||||||
| 
 | 
 | ||||||
| # Don't draw shadows on drag-and-drop windows. This option is deprecated,  | # Don't draw shadows on drag-and-drop windows. This option is deprecated,  | ||||||
| # you should use the *wintypes* option in your config file instead. | # you should use the *wintypes* option in your config file instead. | ||||||
| # | # | ||||||
| #no-dnd-shadow = true | #no-dnd-shadow = true | ||||||
| no-dock-shadow = false | #no-dock-shadow = false | ||||||
| 
 | 
 | ||||||
| # Red color value of shadow (0.0 - 1.0, defaults to 0). | # Red color value of shadow (0.0 - 1.0, defaults to 0). | ||||||
| #shadow-red = 0.86328125 | #shadow-red = 0.86328125 | ||||||
|  | @ -75,7 +75,7 @@ no-dock-shadow = false | ||||||
| # | # | ||||||
| # shadow-exclude = [] | # shadow-exclude = [] | ||||||
| shadow-exclude = [ | shadow-exclude = [ | ||||||
|   "_GTK_FRAME_EXTENTS@:c" |   "_GTK_FRAME_EXTENTS@:c", | ||||||
|   #"_NET_WM_STATE@:32a" |   #"_NET_WM_STATE@:32a" | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
|  | @ -140,13 +140,13 @@ fade-exclude = [ | ||||||
| 
 | 
 | ||||||
| # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. | # Let inactive opacity set by -i override the '_NET_WM_OPACITY' values of windows. | ||||||
| # inactive-opacity-override = true | # inactive-opacity-override = true | ||||||
| inactive-opacity-override = false; | inactive-opacity-override = true; | ||||||
| 
 | 
 | ||||||
| # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) | # Default opacity for active windows. (0.0 - 1.0, defaults to 1.0) | ||||||
| active-opacity = 1.0; | active-opacity = 1.0; | ||||||
| 
 | 
 | ||||||
| # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) | # Dim inactive windows. (0.0 - 1.0, defaults to 0.0) | ||||||
| # inactive-dim = 0.0 | inactive-dim = 0.0 | ||||||
| 
 | 
 | ||||||
| # Specify a list of conditions of windows that should always be considered focused. | # Specify a list of conditions of windows that should always be considered focused. | ||||||
| # focus-exclude = [] | # focus-exclude = [] | ||||||
|  | @ -166,7 +166,7 @@ focus-exclude = [ | ||||||
| # | # | ||||||
| # opacity-rule = [] | # opacity-rule = [] | ||||||
| opacity-rule = [ | opacity-rule = [ | ||||||
|   "100:class_g    = 'slop'"            # maim |   "100:class_g    = 'slop'",            # maim | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|  | @ -208,12 +208,11 @@ blur-background = true; | ||||||
| 
 | 
 | ||||||
| blur: { | blur: { | ||||||
|   # requires: https://github.com/ibhagwan/picom |   # requires: https://github.com/ibhagwan/picom | ||||||
|   method = "none"; |   #method = "none"; | ||||||
|   #method = "kernel"; |   method = "kawase"; | ||||||
|   strength = 0; |   strength = 3; | ||||||
|   # deviation = 1.0; |   deviation = 1.0; | ||||||
|   # kernel = "11x11gaussian"; |   background = true; | ||||||
|   background = false; |  | ||||||
|   background-frame = false; |   background-frame = false; | ||||||
|   background-fixed = false; |   background-fixed = false; | ||||||
|   kern = "3x3box"; |   kern = "3x3box"; | ||||||
|  | @ -221,7 +220,7 @@ blur: { | ||||||
| 
 | 
 | ||||||
| # Exclude conditions for background blur. | # Exclude conditions for background blur. | ||||||
| blur-background-exclude = [ | blur-background-exclude = [ | ||||||
|   "class_g = 'slop'", |   "class_g != 'St'", | ||||||
|   "_GTK_FRAME_EXTENTS@:c" |   "_GTK_FRAME_EXTENTS@:c" | ||||||
| ]; | ]; | ||||||
| 
 | 
 | ||||||
|  | @ -239,7 +238,7 @@ daemon = true | ||||||
| experimental-backends = true; | experimental-backends = true; | ||||||
| backend = "glx"; | backend = "glx"; | ||||||
| 
 | 
 | ||||||
| vsync = true | vsync = false | ||||||
| 
 | 
 | ||||||
| # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. | # Enable remote control via D-Bus. See the *D-BUS API* section below for more details. | ||||||
| # dbus = false | # dbus = false | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue