forked from fabian/nix
		
	add picom config
This commit is contained in:
		
							parent
							
								
									a6be515925
								
							
						
					
					
						commit
						e15777ab93
					
				
					 2 changed files with 43 additions and 1 deletions
				
			
		|  | @ -10,10 +10,10 @@ | ||||||
|     ./i3.nix |     ./i3.nix | ||||||
|     ./polybar.nix |     ./polybar.nix | ||||||
|     ./startx.nix |     ./startx.nix | ||||||
|  |     ./picom.nix | ||||||
|   ]; |   ]; | ||||||
| 
 | 
 | ||||||
|   services = { |   services = { | ||||||
|     picom.enable = true; |  | ||||||
|     dunst.enable = true; |     dunst.enable = true; | ||||||
|     betterlockscreen.enable = true; |     betterlockscreen.enable = true; | ||||||
|   }; |   }; | ||||||
|  |  | ||||||
							
								
								
									
										42
									
								
								home/platforms/fabian@posixlycorrect/gui/picom.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										42
									
								
								home/platforms/fabian@posixlycorrect/gui/picom.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,42 @@ | ||||||
|  | { | ||||||
|  |   config, | ||||||
|  |   pkgs, | ||||||
|  |   lib, | ||||||
|  |   ... | ||||||
|  | }: { | ||||||
|  |   services.picom = { | ||||||
|  |     enable = true; | ||||||
|  |     fade = true; | ||||||
|  |     fadeSteps = [0.1 0.1]; | ||||||
|  |     fadeDelta = 10; | ||||||
|  |     settings = { | ||||||
|  |       animations = [ | ||||||
|  |         { | ||||||
|  |           triggers = [ | ||||||
|  |             "open" | ||||||
|  |             "show" | ||||||
|  |           ]; | ||||||
|  | 
 | ||||||
|  |           preset = "appear"; | ||||||
|  |           duration = "1"; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           triggers = [ | ||||||
|  |             "close" | ||||||
|  |             "hide" | ||||||
|  |           ]; | ||||||
|  | 
 | ||||||
|  |           preset = "disappear"; | ||||||
|  |           duration = "1"; | ||||||
|  |         } | ||||||
|  |         { | ||||||
|  |           triggers = [ | ||||||
|  |             "geometry" | ||||||
|  |           ]; | ||||||
|  |           preset = "geometry-change"; | ||||||
|  |           duration = "1"; | ||||||
|  |         } | ||||||
|  |       ]; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | } | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue