Lock the screen whin press on XF86XK_Suspend key
This commit is contained in:
		
							parent
							
								
									95139f7f17
								
							
						
					
					
						commit
						6288fd7d0c
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -161,6 +161,7 @@ static Keychord keychords[] = {
 | 
			
		|||
	/* ---------------------------------- lock Keys ---------------------------------- */
 | 
			
		||||
	// Lock the screen
 | 
			
		||||
	{1, {{MODKEY|ShiftMask,    	       XK_x}},     spawn,          SHCMD("betterlockscreen -l dim") },
 | 
			
		||||
	{1, {{0,                     XF86XK_Suspend}},     spawn,          SHCMD("betterlockscreen -l dim") },
 | 
			
		||||
	// Kill dwm (super + shift + alt + q)
 | 
			
		||||
	{1, {{MODKEY|ShiftMask|Mod1Mask,       XK_q}},      quit,           {0} },
 | 
			
		||||
};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue