22 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
	
		
			459 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { lib, config, ... }:
 | |
| 
 | |
| let
 | |
|   inherit (lib) mkIf;
 | |
|   wayland = config.ooknet.wayland;
 | |
| in
 | |
| 
 | |
| {
 | |
|   config = mkIf (wayland.compositor == "hyprland") {
 | |
|     wayland.windowManager.hyprland.settings.misc = {
 | |
|       mouse_move_enables_dpms = true;
 | |
|       key_press_enables_dpms = true;
 | |
|       disable_hyprland_logo = true;
 | |
|       disable_splash_rendering = true;
 | |
| 
 | |
|       enable_swallow = true;
 | |
|       swallow_regex = "foot|nemo";
 | |
| 
 | |
|       focus_on_activate = true;
 | |
|     };
 | |
|   };
 | |
| } 
 |