new profile catagory: theme. refactor modules for wallpaper, fonts, gtk, and qt. adjusted modules that depend on old theming modules
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			430 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { lib, config, inputs,  ... }:
 | |
| 
 | |
| let
 | |
|   cfg = config.homeModules.desktop.wayland.windowManager.hyprland;
 | |
|   wallpaperPath = config.homeModules.theme.wallpaper.path;
 | |
| in
 | |
| 
 | |
| {
 | |
|   imports = [ inputs.hyprpaper.homeManagerModules.hyprpaper ];
 | |
|   
 | |
|   config = lib.mkIf cfg.enable {
 | |
|     services.hyprpaper = {
 | |
|       enable = true;
 | |
|       preloads = ["${wallpaperPath}"];
 | |
|       wallpapers = [", ${wallpaperPath}"];
 | |
|       ipc = false;
 | |
|     };
 | |
|   };
 | |
| }
 |