refactor(flake-parts): initial flake-parts configuration
This commit is contained in:
		
							parent
							
								
									8f67be9e68
								
							
						
					
					
						commit
						5603001d65
					
				
					 230 changed files with 380 additions and 717 deletions
				
			
		|  | @ -1,40 +0,0 @@ | |||
| { config, lib, ... }: | ||||
| let | ||||
|   inherit (config.colorscheme) colors kind; | ||||
|   fonts = config.homeModules.theme.fonts; | ||||
|   cfg = config.homeModules.desktop.wayland.notification.mako; | ||||
| in { | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     services.mako  = { | ||||
|       enable = true; | ||||
|       iconPath = | ||||
|         if kind == "dark" then | ||||
|           "${config.gtk.iconTheme.package}/share/icons/Papirus-Dark" | ||||
|         else | ||||
|           "${config.gtk.iconTheme.package}/share/icons/Papirus-Light"; | ||||
|       font = "${fonts.regular.family} 12"; | ||||
|       padding = "10,10"; | ||||
|       anchor = "top-right"; | ||||
|       width = 300; | ||||
|       height = 100; | ||||
|       borderSize = 2; | ||||
|       defaultTimeout = 3000; | ||||
|       backgroundColor = "#${colors.base00}dd"; | ||||
|       borderColor = "#${colors.base05}dd"; | ||||
|       textColor = "#${colors.base05}dd"; | ||||
|       extraConfig = '' | ||||
|         [app-name="system-notify"] | ||||
|         padding=3,3 | ||||
|         width=100 | ||||
|         height=100 | ||||
|         [urgency=critical] | ||||
|         padding=3,3 | ||||
|         width=100 | ||||
|         height=100 | ||||
|         anchor=top-center | ||||
|         border-color=#${colors.base08}dd | ||||
|       ''; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
| 
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue