feat(keys): update the keybindings

This commit is contained in:
Anas Elgarhy 2023-08-30 08:27:53 +03:00
parent 1b6ddb9726
commit 97055fdf2f
No known key found for this signature in database
GPG key ID: 0501802A1D496528
2 changed files with 3 additions and 3 deletions

View file

@ -23,9 +23,9 @@ static Key keys[] = {
/* modifier chain key key function argument */ /* modifier chain key key function argument */
/* ---------------------------------- Apps Keys ---------------------------------- */ /* ---------------------------------- Apps Keys ---------------------------------- */
// Dmenu (launcher) // Dmenu (launcher)
{MODKEY | ShiftMask, XK_d, spawn, {.v = dmenucmd}}, {MODKEY, XK_p, spawn, {.v = dmenucmd}},
// Rofi launcher (small) // Rofi launcher (small)
{MODKEY | ShiftMask | ControlMask, XK_d, spawn, SHCMD("rofi -show drun")}, {MODKEY, XK_r, spawn, SHCMD("rofi -show drun")},
{MODKEY, XK_Return, spawn, {.v = termcmd}}, {MODKEY, XK_Return, spawn, {.v = termcmd}},
/************************************* Start the web browers *************************************/ /************************************* Start the web browers *************************************/
// Firefox-developer-edition // Firefox-developer-edition

View file

@ -14,7 +14,7 @@ typedef struct {
} Key; } Key;
/* key definitions */ /* key definitions */
#define MODKEY Mod4Mask // Super key #define MODKEY Mod1Mask // The alt key
#define TAGKEYS(KEY, TAG) \ #define TAGKEYS(KEY, TAG) \
{MODKEY, KEY, view, {.ui = 1 << TAG}}, \ {MODKEY, KEY, view, {.ui = 1 << TAG}}, \