diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-10-09 10:32:22 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-10-09 10:32:22 +0530 | 
| commit | 547fa6b53f662838b3367e2e572e40c81cfdf854 (patch) | |
| tree | e380155da71ad612eb937af2976e89a55b941f60 | |
| parent | f999acff8fb732bea747ba9e64622de33dd52290 (diff) | |
(keybind): Add keybind for PCManFM
Diffstat (limited to '')
| -rw-r--r-- | config.def.h | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index eee7dbd..afcd74b 100644 --- a/config.def.h +++ b/config.def.h @@ -138,6 +138,7 @@ static const char *downbrightness[] = { "brightnessctl", "set", "5%-", NULL };  static const char *termcmd[] = { "alacritty", NULL };  static const char *menucmd[] = { "/etc/nixos/dist/run.sh", NULL }; +static const char *filemanagercmd[] = { "pcmanfm", NULL };  static const char *lockcmd[] = { "swaylock", NULL };  static const Key keys[] = { @@ -146,6 +147,7 @@ static const Key keys[] = {  	{ MODKEY,                    XKB_KEY_space,      spawn,          {.v = menucmd} },  	{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return,     spawn,          {.v = termcmd} },  	{ MODKEY,                    XKB_KEY_x,          spawn,          {.v = lockcmd} }, +	{ MODKEY,                    XKB_KEY_e,          spawn,          {.v = filemanagercmd} },  	{ MODKEY,                    XKB_KEY_j,          focusstack,     {.i = +1} },  	{ MODKEY,                    XKB_KEY_k,          focusstack,     {.i = -1} },  	{ MODKEY,                    XKB_KEY_i,          incnmaster,     {.i = +1} }, @@ -158,7 +160,6 @@ static const Key keys[] = {  	{ MODKEY,                    XKB_KEY_t,          setlayout,      {.v = &layouts[0]} },  	{ MODKEY,                    XKB_KEY_f,          setlayout,      {.v = &layouts[2]} },  	{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_F,          togglefloating, {0} }, -	{ MODKEY,                    XKB_KEY_e,          togglefullscreen, {0} },  	{ MODKEY,                    XKB_KEY_0,          view,           {.ui = ~0} },  	{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_parenright, tag,            {.ui = ~0} },  	{ MODKEY,                    XKB_KEY_comma,      focusmon,       {.i = WLR_DIRECTION_LEFT} },  | 
