Set Zathura settings
This commit is contained in:
		
							parent
							
								
									b2c15706c0
								
							
						
					
					
						commit
						f8ba5af5ac
					
				| @ -7,6 +7,7 @@ | |||||||
| 
 | 
 | ||||||
| let | let | ||||||
|   cfg = config.modules.zathura; |   cfg = config.modules.zathura; | ||||||
|  |   colors = config.theming.colors; | ||||||
| in | in | ||||||
| { | { | ||||||
|   options.modules.zathura.enable = lib.mkEnableOption "zathura"; |   options.modules.zathura.enable = lib.mkEnableOption "zathura"; | ||||||
| @ -17,6 +18,18 @@ in | |||||||
| 
 | 
 | ||||||
|       options = { |       options = { | ||||||
|         guioptions = "none"; |         guioptions = "none"; | ||||||
|  |         recolor = true; | ||||||
|  |         recolor-keephue = false; | ||||||
|  |         recolor-darkcolor = lib.mkForce "#${colors.accent}"; | ||||||
|  |         recolor-lightcolor = lib.mkForce "#${colors.bg}"; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|  |     xdg.mimeApps = { | ||||||
|  |       enable = true; | ||||||
|  | 
 | ||||||
|  |       defaultApplications = { | ||||||
|  |         "application/pdf" = "zathura"; | ||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis