diff options
| -rw-r--r-- | config.h | 58 | 
1 files changed, 30 insertions, 28 deletions
| @@ -75,34 +75,35 @@ static const Layout layouts[] = {  #define SHCMD(cmd) { .v = (const char*[]){ "/usr/local/bin/dash", "-c", cmd, NULL } }  /* commands */ -static const char *termcmd[]    = { "/usr/local/bin/st", NULL }; -static const char *dmenucmd[]   = { "/usr/local/bin/dmenu_run", "-i", "-m", "0", NULL }; -static const char *dmpccmd[]    = { "/home/jozan/.local/bin/dmpc", NULL }; -static const char *dmkillcmd[]  = { "/home/jozan/.local/bin/dmkill", NULL }; -static const char *dmscrotcmd[] = { "/home/jozan/.local/bin/dmscrot", NULL }; -static const char *dmlogcmd[]   = { "/home/jozan/.local/bin/dmlog", NULL }; -static const char *vifmcmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/vifm", NULL }; -static const char *editcmd[]    = { "/usr/local/bin/emacsclient", "-c", NULL }; -static const char *browsercmd[] = { "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL }; -static const char *torbrocmd[]  = { "/usr/local/bin/torify", "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL }; -static const char *w3mcmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/w3m", "https://start.duckduckgo.com/", NULL }; -static const char *nbcmd[]      = { "/usr/local/bin/st", "-e", "/usr/local/bin/torify", "/usr/local/bin/newsboat", NULL }; -static const char *vimpccmd[]   = { "/usr/local/bin/st", "-e", "/usr/local/bin/vimpc", NULL }; -static const char *calcmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/calcurse", "-C", "/home/jozan/.config/calcurse", "-D", "/home/jozan/.local/share/calcurse", NULL }; -static const char *sclicmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/scli", NULL }; -static const char *muttcmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/neomutt", NULL }; -static const char *gotopcmd[]   = { "/usr/local/bin/st", "-e", "/usr/local/bin/gotop", NULL }; -static const char *htopcmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/htop", NULL }; -static const char *topcmd[]     = { "/usr/local/bin/st", "-e", "/usr/bin/top", NULL }; -static const char *blinccmd[]   = { "/usr/local/bin/xbacklight", "-inc", "10", NULL }; -static const char *bldeccmd[]   = { "/usr/local/bin/xbacklight", "-dec", "10", NULL }; -static const char *voltogcmd[]  = { "/home/jozan/.local/bin/mixer-set", "toggle", NULL }; -static const char *voldeccmd[]  = { "/home/jozan/.local/bin/mixer-set", "lower", NULL }; -static const char *volinccmd[]  = { "/home/jozan/.local/bin/mixer-set", "raise", NULL }; -static const char *mpcprevcmd[] = { "/usr/local/bin/mpc", "prev", NULL }; -static const char *mpcnextcmd[] = { "/usr/local/bin/mpc", "next", NULL }; -static const char *mpctogcmd[]  = { "/usr/local/bin/mpc", "toggle", NULL }; -static const char *mpcstopcmd[] = { "/usr/local/bin/mpc", "stop", NULL }; +static const char *termcmd[]     = { "/usr/local/bin/st", NULL }; +static const char *dmenucmd[]    = { "/usr/local/bin/dmenu_run", "-i", "-m", "0", NULL }; +static const char *dmpccmd[]     = { "/home/jozan/.local/bin/dmpc", NULL }; +static const char *dmkillcmd[]   = { "/home/jozan/.local/bin/dmkill", NULL }; +static const char *dmsearchcmd[] = { "/home/jozan/.local/bin/dmsearch", NULL }; +static const char *dmscrotcmd[]  = { "/home/jozan/.local/bin/dmscrot", NULL }; +static const char *dmlogcmd[]    = { "/home/jozan/.local/bin/dmlog", NULL }; +static const char *vifmcmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/vifm", NULL }; +static const char *editcmd[]     = { "/usr/local/bin/emacsclient", "-c", NULL }; +static const char *browsercmd[]  = { "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL }; +static const char *torbrocmd[]   = { "/usr/local/bin/torify", "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL }; +static const char *w3mcmd[]      = { "/usr/local/bin/st", "-e", "/usr/local/bin/w3m", "https://start.duckduckgo.com/", NULL }; +static const char *nbcmd[]       = { "/usr/local/bin/st", "-e", "/usr/local/bin/torify", "/usr/local/bin/newsboat", NULL }; +static const char *vimpccmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/vimpc", NULL }; +static const char *calcmd[]      = { "/usr/local/bin/st", "-e", "/usr/local/bin/calcurse", "-C", "/home/jozan/.config/calcurse", "-D", "/home/jozan/.local/share/calcurse", NULL }; +static const char *sclicmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/scli", NULL }; +static const char *muttcmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/neomutt", NULL }; +static const char *gotopcmd[]    = { "/usr/local/bin/st", "-e", "/usr/local/bin/gotop", NULL }; +static const char *htopcmd[]     = { "/usr/local/bin/st", "-e", "/usr/local/bin/htop", NULL }; +static const char *topcmd[]      = { "/usr/local/bin/st", "-e", "/usr/bin/top", NULL }; +static const char *blinccmd[]    = { "/usr/local/bin/xbacklight", "-inc", "10", NULL }; +static const char *bldeccmd[]    = { "/usr/local/bin/xbacklight", "-dec", "10", NULL }; +static const char *voltogcmd[]   = { "/home/jozan/.local/bin/mixer-set", "toggle", NULL }; +static const char *voldeccmd[]   = { "/home/jozan/.local/bin/mixer-set", "lower", NULL }; +static const char *volinccmd[]   = { "/home/jozan/.local/bin/mixer-set", "raise", NULL }; +static const char *mpcprevcmd[]  = { "/usr/local/bin/mpc", "prev", NULL }; +static const char *mpcnextcmd[]  = { "/usr/local/bin/mpc", "next", NULL }; +static const char *mpctogcmd[]   = { "/usr/local/bin/mpc", "toggle", NULL }; +static const char *mpcstopcmd[]  = { "/usr/local/bin/mpc", "stop", NULL };  #include "movestack.c"  #include <X11/XF86keysym.h> @@ -133,6 +134,7 @@ static Key keys[] = {  	{ MODKEY|ShiftMask,             XK_F12,                   spawn,          {.v = volinccmd } },  	{ MODKEY|ControlMask,           XK_F9,                    spawn,          {.v = dmkillcmd } },  	{ MODKEY|ControlMask,           XK_F10,                   spawn,          {.v = dmscrotcmd } }, +	{ MODKEY|ControlMask,           XK_F11,                   spawn,          {.v = dmsearchcmd } },  	{ MODKEY|ControlMask,           XK_F12,                   spawn,          {.v = dmlogcmd } },  	{ MODKEY,                       XK_BackSpace,             spawn,          {.v = dmpccmd } },  	{ 0,                            XF86XK_MonBrightnessUp,   spawn,          {.v = blinccmd } }, | 
