home/natto: add hyprlock,hypridle and hyprpaper
also move hyprland.conf -> hyprland.nix Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		
							
								
								
									
										18
									
								
								home/natto/hyprpaper.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								home/natto/hyprpaper.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
{
 | 
			
		||||
  config,
 | 
			
		||||
  ...
 | 
			
		||||
}:
 | 
			
		||||
{
 | 
			
		||||
  services.hyprpaper = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
 | 
			
		||||
    settings =
 | 
			
		||||
      let
 | 
			
		||||
        wallpaper = "${config.home.homeDirectory}/wallpaper.png";
 | 
			
		||||
      in
 | 
			
		||||
      {
 | 
			
		||||
        preload = [ "${wallpaper}" ];
 | 
			
		||||
        wallpaper = [ ", ${wallpaper}" ];
 | 
			
		||||
      };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user