forked from fabian/nix
		
	add mako config
This commit is contained in:
		
							parent
							
								
									a715f50f2b
								
							
						
					
					
						commit
						4807859d85
					
				
					 2 changed files with 29 additions and 4 deletions
				
			
		|  | @ -52,13 +52,10 @@ in { | |||
|     ./theme.nix | ||||
|     ./sway.nix | ||||
|     ./waybar.nix | ||||
|     ./mako.nix | ||||
|   ]; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     services = { | ||||
|       mako.enable = true; | ||||
|     }; | ||||
| 
 | ||||
|     xdg = { | ||||
|       enable = true; | ||||
|       mimeApps = { | ||||
|  |  | |||
							
								
								
									
										28
									
								
								home/modules/gui/mako.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								home/modules/gui/mako.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,28 @@ | |||
| { | ||||
|   config, | ||||
|   lib, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: | ||||
| with lib; let | ||||
|   cfg = config.local.gui; | ||||
| in { | ||||
|   config = mkIf cfg.enable { | ||||
|     services.mako = { | ||||
|       enable = true; | ||||
|       settings = { | ||||
|         actions = true; | ||||
|         anchor = "top-right"; | ||||
|         background-color = "#000000"; | ||||
|         border-color = "#000000"; | ||||
|         progress-color="over #FFFFFF"; | ||||
|         border-radius = 0; | ||||
|         default-timeout = 7000; | ||||
|         font = "JetBrains Mono 10"; | ||||
|         icons = true; | ||||
|         ignore-timeout = false; | ||||
|         layer = "top"; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue