Restructure
This commit is contained in:
		
							
								
								
									
										44
									
								
								config/hypr/hypridle.conf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								config/hypr/hypridle.conf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,44 @@ | ||||
| #░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ | ||||
| #░   ░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░   ░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   ░░░░░░░░░░░░░░ | ||||
| #▒   ▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒   ▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒  ▒▒▒▒▒▒▒▒▒ | ||||
| #▒   ▒▒▒▒   ▒   ▒▒▒   ▒  ▒   ▒▒▒  ▒    ▒▒▒▒▒▒▒▒▒▒   ▒▒   ▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒   ▒   ▒▒▒    ▒  ▒▒▒▒▒▒▒     ▒▒ | ||||
| #▓          ▓▓   ▓   ▓▓  ▓▓   ▓▓▓   ▓▓▓▓   ▓▓   ▓   ▓▓   ▓▓  ▓▓▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓   ▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓    ▓▓▓  ▓▓▓   ▓▓   ▓▓▓▓   ▓  ▓▓▓   ▓▓   ▓         ▓▓▓▓▓▓▓▓   ▓▓▓▓▓▓▓▓   ▓▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓  ▓▓▓    | ||||
| #▓   ▓▓▓▓   ▓▓▓▓▓   ▓▓▓   ▓   ▓▓▓   ▓▓▓▓   ▓  ▓▓▓   ▓▓   ▓  ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓   ▓▓▓   ▓▓   ▓▓   ▓▓▓   ▓▓   ▓▓▓   ▓▓▓▓   ▓    ▓    | ||||
| #█   ████   ████   ████   ██████    ████   ██   █   ██   ███     █████████████     ██████   █████    ██   ███   ████   █████   █ | ||||
| #██████████████   █████   ████████████████████████████████████████████████████████████████████████████████████████████████    ██ | ||||
|  | ||||
| general { | ||||
|     lock_cmd = hyprlock --immediate | ||||
|     unlock_cmd = loginctl unlock-session | ||||
|     before_sleep_cmd = hyprlock --immediate | ||||
|     after_sleep_cmd = hyprlock --immediate | ||||
| } | ||||
|  | ||||
| listener { | ||||
|     timeout = 100 | ||||
|     on-timeout = notify-send "Entering idle state... (200s to screen off)" | ||||
|     on-resume = notify-send "Welcome back!" | ||||
| } | ||||
|  | ||||
| listener { | ||||
|     timeout = 200 | ||||
|     on-timeout = notify-send "100s to screen off" | ||||
| } | ||||
|  | ||||
| listener { | ||||
|     timeout = 210 | ||||
|     on-timeout = hyprlock | ||||
| } | ||||
|  | ||||
| listener { | ||||
|     timeout = 300 | ||||
|     on-timeout = hyprctl dispatch dpms off | ||||
|     on-resume = hyprctl dispatch dpms on | ||||
| } | ||||
|  | ||||
| listener { | ||||
|     timeout = 600 | ||||
|     on-timeout = systemctl suspend | ||||
|     on-resume = hyprctl dispatch dpms on | ||||
| } | ||||
		Reference in New Issue
	
	Block a user