merging this branch so I can start a clean one, gitbutler caused a lot of pain due to it failing to build
This commit is contained in:
		
						commit
						2bd027e333
					
				
					 26 changed files with 1427 additions and 288 deletions
				
			
		|  | @ -1,20 +1,16 @@ | |||
| { | ||||
|   config, | ||||
|   inputs, | ||||
|   lib, | ||||
|   namespace, | ||||
|   pkgs, | ||||
|   system, | ||||
|   ... | ||||
| }: | ||||
| let | ||||
|   inherit (lib) mkIf mkEnableOption; | ||||
| 
 | ||||
|   # hyprpaper-package = inputs.hyprpaper.packages.${system}.hyprpaper; | ||||
| 
 | ||||
|   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,13 +24,15 @@ 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}"; | ||||
|         }; | ||||
|       }; | ||||
|     }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue