Improve the code 😃

This commit is contained in:
Anas Elgarhy 2022-04-25 17:40:50 +02:00
parent cbcfedc39a
commit 0141acebe5
1 changed files with 8 additions and 7 deletions

View File

@ -91,7 +91,7 @@ static const char *cmdsoundtoggle[] = { "amixer", "-q", "sset", "Master", "togg
#include "movestack.c"
// X11 keysym definitions
#include <X11/XF86keysym.h>
#include <X11/XF86keysym.h> // req (libxinerama1 and libxinerama-dev)
static Key keys[] = {
/* modifier key function argument */
/* ---------------------------------- Apps Keys ---------------------------------- */
@ -105,6 +105,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD(TERMINAL " -e tmux") },
// File browsers
{ MODKEY|ShiftMask, XK_f, spawn, SHCMD(GUI_FILEMANAGER) },
// Rofi file browser (small)
{ MODKEY|ShiftMask|ControlMask, XK_f, spawn, SHCMD("rofi -show filebrowser") },
// Start the web brower
{ MODKEY, XK_w, spawn, SHCMD(WEBBROWSER) },