Update basic key definitions
This commit is contained in:
		
							parent
							
								
									ab01bb9979
								
							
						
					
					
						commit
						1193e5f62b
					
				
							
								
								
									
										7
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								config.h
									
									
									
									
									
								
							@ -104,14 +104,15 @@ static const char *nmcedit[]	= { "nm-connection-editor"	, NULL };
 | 
			
		||||
static const char *top[]		= { "kitty"	, "htop" 		, NULL };
 | 
			
		||||
static const Key keys[] 		= {
 | 
			
		||||
	/* modifier                     key        function        argument */
 | 
			
		||||
	{ MODKEY,                       XK_Tab,    view,           {0} },
 | 
			
		||||
	{ MODKEY,                       XK_t,      setlayout,      {.v = &layouts[0]} },
 | 
			
		||||
	{ MODKEY,                       XK_f,      setlayout,      {.v = &layouts[1]} },
 | 
			
		||||
	{ MODKEY,                       XK_m,      setlayout,      {.v = &layouts[2]} },
 | 
			
		||||
	{ MODKEY,                       XK_space,  setlayout,      {0} },
 | 
			
		||||
	{ MODKEY|ShiftMask,             XK_space,  togglefloating, {0} },
 | 
			
		||||
	{ MODKEY,                       XK_0,      view,           {.ui = ~0 } },
 | 
			
		||||
	{ MODKEY|ShiftMask,             XK_0,      tag,            {.ui = ~0 } },
 | 
			
		||||
	{ MODKEY,						XK_BackSpace,				view,		{0}					},
 | 
			
		||||
	{ MODKEY,						XK_a,						view,		{.ui = ~0}			}, // Select all tags. Cancel it with `MODKEY + [tag key]`.
 | 
			
		||||
	{ MODKEY|Mod1Mask,				XK_p,					    tag,		{.ui = ~0}			}, // Pin current window to all tags. Cancel it with `MODKEY + Shift + [tag key]`.
 | 
			
		||||
 | 
			
		||||
	{ MODKEY,						XK_Left,					focusmon,	{.i = -1}			},
 | 
			
		||||
	{ MODKEY,						XK_Right,					focusmon,	{.i = +1}			},
 | 
			
		||||
	{ MODKEY|ShiftMask,				XK_Left,					tagmon,		{.i = -1}			},
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user