Changed: Hyprland Conf
This commit is contained in:
		@@ -8,6 +8,4 @@
 | 
			
		||||
        ../rofi # App Launcher
 | 
			
		||||
    ];
 | 
			
		||||
   
 | 
			
		||||
    # You might want to set environment variables for Wayland
 | 
			
		||||
    wayland.displayProtocols = [ "wayland" "x11" ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,26 @@
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    # Hypridle configuration
 | 
			
		||||
    services.hypridle.enable = true;
 | 
			
		||||
    services.hypridle = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        settings = {
 | 
			
		||||
            general = {
 | 
			
		||||
                after_sleep_cmd = "hyprctl dispatch dpms on";
 | 
			
		||||
                ignore_dbus_inhibit = false;
 | 
			
		||||
                lock_cmd = "hyprlock";
 | 
			
		||||
            };
 | 
			
		||||
 | 
			
		||||
            listener = [
 | 
			
		||||
                {
 | 
			
		||||
                    timeout = 300;
 | 
			
		||||
                    on-timeout = "hyprlock";
 | 
			
		||||
                }
 | 
			
		||||
                {
 | 
			
		||||
                    timeout = 600;
 | 
			
		||||
                    on-timeout = "hyprctl dispatch dpms off";
 | 
			
		||||
                    on-resume = "hyprctl dispatch dpms on";
 | 
			
		||||
                }
 | 
			
		||||
            ];
 | 
			
		||||
        };
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -45,6 +45,9 @@ in
 | 
			
		||||
        "xdg-desktop-autostart.target"
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    # You might want to set environment variables for Wayland
 | 
			
		||||
    wayland.displayProtocols = [ "wayland" "x11" ];
 | 
			
		||||
 | 
			
		||||
    wayland.windowManager.hyprland = {
 | 
			
		||||
        inherit package;
 | 
			
		||||
        enable = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,6 @@
 | 
			
		||||
    ];
 | 
			
		||||
 | 
			
		||||
    # Hyprlock configuration
 | 
			
		||||
    services.hyprlock.enable = true;
 | 
			
		||||
    programs.hyprlock.enable = true;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -15,6 +15,7 @@
 | 
			
		||||
    # Hyprpaper configuration
 | 
			
		||||
    services.hyprpaper.enable = true;
 | 
			
		||||
    services.hyprpaper.settings = {
 | 
			
		||||
        preload = "Pictures/Wallpapers/girl.png";
 | 
			
		||||
        wallpaper = "Pictures/Wallpapers/girl.png";
 | 
			
		||||
    };
 | 
			
		||||
 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user