misc forgot to commit
This commit is contained in:
		
							parent
							
								
									b4ff44cb09
								
							
						
					
					
						commit
						45ab8ab636
					
				
					 12 changed files with 151 additions and 118 deletions
				
			
		| 
						 | 
				
			
			@ -15,6 +15,7 @@ let
 | 
			
		|||
  cfg = config.${namespace}.desktop.addons.hyprpaper;
 | 
			
		||||
 | 
			
		||||
  username = config.${namespace}.user.name;
 | 
			
		||||
  picture-path = "/home/${username}/Pictures/firewatch.jpg";
 | 
			
		||||
in
 | 
			
		||||
{
 | 
			
		||||
  options.${namespace}.desktop.addons.hyprpaper = {
 | 
			
		||||
| 
						 | 
				
			
			@ -28,15 +29,18 @@ in
 | 
			
		|||
        "Pictures/firewatch.jpg".source = ./firewatch.jpg;
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
      wayland.windowManager.hyprland.settings.exec-once = [
 | 
			
		||||
        ''hyprctl hyprpaper wallpaper "DP-2,${picture-path}"''
 | 
			
		||||
      ];
 | 
			
		||||
 | 
			
		||||
      services.hyprpaper = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        settings = {
 | 
			
		||||
          preload = [
 | 
			
		||||
            "/home/${username}/Pictures/firewatch.jpg"
 | 
			
		||||
          ];
 | 
			
		||||
          wallpaper = "monitor DP-2, /home/${username}/Pictures/firewatch.jpg";
 | 
			
		||||
          preload = [ picture-path ];
 | 
			
		||||
          wallpaper = "DP-2,${picture-path}";
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 132 B  | 
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue