mirror of
				https://github.com/ItsDrike/dotfiles.git
				synced 2025-11-04 01:16:35 +00:00 
			
		
		
		
	Pause notifications before sleep & unpause on unlock
This commit is contained in:
		
							parent
							
								
									e8136e9666
								
							
						
					
					
						commit
						3c29dab3c5
					
				
					 1 changed files with 2 additions and 4 deletions
				
			
		| 
						 | 
					@ -1,10 +1,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
general {
 | 
					general {
 | 
				
			||||||
  #lock_cmd = hyprlock # handled by systemd-lock-handler
 | 
					  unlock-cmd = killall -s SIGUSR1 hyprlock && dunstctl set-paused false
 | 
				
			||||||
  unlock-cmd = killall -s SIGUSR1 hyprlock # same as above, but unlock
 | 
					  before_sleep_cmd = loginctl lock-session && dunstctl set-paused true && sleep 2
 | 
				
			||||||
 | 
					 | 
				
			||||||
  before_sleep_cmd = loginctl lock-session && sleep 2
 | 
					 | 
				
			||||||
  ignore_dbus_inhibit = false
 | 
					  ignore_dbus_inhibit = false
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue