aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/config.def.h b/config.def.h
index ced1d3c..ef03bc8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -144,18 +144,18 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *term_cmd[] = { "alacritty", NULL };
static const char *hardflip_cmd[] = { "alacritty", "-e", "hf", NULL };
-static const char *dmenucmd[] = { "dmenu_run", "-i", NULL };
-static const char *dmapps_cmd[] = { "/home/r_bousset/.local/bin/dmapps", NULL };
-static const char *dmpc_cmd[] = { "/home/r_bousset/.local/bin/dmpc", NULL };
-static const char *dmbookm_cmd[] = { "/home/r_bousset/.local/bin/dmbookm", NULL };
-static const char *dmkill_cmd[] = { "/home/r_bousset/.local/bin/dmkill", NULL };
-static const char *dmsearch_cmd[] = { "/home/r_bousset/.local/bin/dmsearch", NULL };
-static const char *dmscrot_cmd[] = { "/home/r_bousset/.local/bin/dmscrot", NULL };
-static const char *dmlog_cmd[] = { "/home/r_bousset/.local/bin/dmlog", NULL };
-static const char *dmpass_full_cmd[] = { "/home/r_bousset/.local/bin/dmpass", "--full", NULL };
-static const char *dmpass_cmd[] = { "/home/r_bousset/.local/bin/dmpass", NULL };
-static const char *dmotp_cmd[] = { "/home/r_bousset/.local/bin/dmotp", NULL };
-static const char *ndate_cmd[] = { "/home/r_bousset/.local/bin/ndate", NULL };
+static const char *dmenucmd[] = { "dmrun", NULL };
+static const char *dmapps_cmd[] = { "dmapps", NULL };
+static const char *dmpc_cmd[] = { "dmpc", NULL };
+static const char *dmbookm_cmd[] = { "dmbookm", NULL };
+static const char *dmkill_cmd[] = { "dmkill", NULL };
+static const char *dmsearch_cmd[] = { "dmsearch", NULL };
+static const char *dmscrot_cmd[] = { "dmscrot", NULL };
+static const char *dmlog_cmd[] = { "dmlog", NULL };
+static const char *dmpass_full_cmd[] = { "dmpass", "--full", NULL };
+static const char *dmpass_cmd[] = { "dmpass", NULL };
+static const char *dmotp_cmd[] = { "dmotp", NULL };
+static const char *ndate_cmd[] = { "ndate", NULL };
// static const char *file_cmd[] = { "alacritty", "-e", "zsh", "-ic", "lf", NULL };
// static const char *file_alt_cmd[] = { "pcmanfm", NULL };
// static const char *edit_cmd[] = { "emacsclient", "-c", NULL };
@@ -171,10 +171,10 @@ static const char *htop_cmd[] = { "alacritty", "-e", "htop", NULL };
static const char *top_cmd[] = { "alacritty", "-e", "top", NULL };
static const char *bl_inc_cmd[] = { "xbacklight", "-inc", "10", NULL };
static const char *bl_dec_cmd[] = { "xbacklight", "-dec", "10", NULL };
-static const char *vol_tog_cmd[] = { "/home/r_bousset/.local/bin/mixer-set", "toggle", NULL };
-static const char *vol_dec_cmd[] = { "/home/r_bousset/.local/bin/mixer-set", "lower", NULL };
-static const char *vol_inc_cmd[] = { "/home/r_bousset/.local/bin/mixer-set", "raise", NULL };
-static const char *mic_cmd[] = { "/home/r_bousset/.local/bin/mic", NULL };
+static const char *vol_tog_cmd[] = { "mixer-set", "toggle", NULL };
+static const char *vol_dec_cmd[] = { "mixer-set", "lower", NULL };
+static const char *vol_inc_cmd[] = { "mixer-set", "raise", NULL };
+static const char *mic_cmd[] = { "mic", NULL };
static const char *mpc_prev_cmd[] = { "mpc", "prev", NULL };
static const char *mpc_next_cmd[] = { "mpc", "next", NULL };
static const char *mpc_tog_cmd[] = { "mpc", "toggle", NULL };
@@ -183,10 +183,10 @@ static const char *killespeak_cmd[] = { "/home/r_bousset/.local/bin/shutup", NU
#include <X11/XF86keysym.h>
static const Key keys[] = {
- { MODKEY, XK_p, spawn, {.v = dmenucmd } },
+ { MODKEY, XK_p, dmenuspawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = term_cmd } },
{ MODKEY|ControlMask|ShiftMask, XK_Return, spawn, {.v = hardflip_cmd } },
- { MODKEY|ControlMask, XK_Return, spawn, {.v = dmapps_cmd } },
+ { MODKEY|ControlMask, XK_Return, dmenuspawn, {.v = dmapps_cmd } },
{ MODKEY, XK_F1, togglescratch, {.ui = 0 } },
{ MODKEY, XK_F2, togglescratch, {.ui = 1 } },
{ MODKEY|ShiftMask, XK_F2, togglescratch, {.ui = 2 } },
@@ -209,16 +209,16 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_F11, spawn, {.v = vol_dec_cmd } },
{ MODKEY|ShiftMask, XK_F12, spawn, {.v = vol_inc_cmd } },
{ MODKEY|ShiftMask, XK_Delete, spawn, {.v = mic_cmd } },
- { MODKEY|ControlMask, XK_F8, spawn, {.v = dmbookm_cmd } },
- { MODKEY|ControlMask, XK_F9, spawn, {.v = dmkill_cmd } },
- { MODKEY|ControlMask, XK_F10, spawn, {.v = dmscrot_cmd } },
- { MODKEY|ControlMask, XK_F11, spawn, {.v = dmsearch_cmd } },
+ { MODKEY|ControlMask, XK_F8, dmenuspawn, {.v = dmbookm_cmd } },
+ { MODKEY|ControlMask, XK_F9, dmenuspawn, {.v = dmkill_cmd } },
+ { MODKEY|ControlMask, XK_F10, dmenuspawn, {.v = dmscrot_cmd } },
+ { MODKEY|ControlMask, XK_F11, dmenuspawn, {.v = dmsearch_cmd } },
{ MODKEY|ControlMask, XK_F12, dmenuspawn, {.v = dmlog_cmd } },
{ MODKEY|ControlMask, XK_BackSpace, dmenuspawn, {.v = dmlog_cmd } },
- { MODKEY, XK_BackSpace, spawn, {.v = dmpc_cmd } },
- { MODKEY|ControlMask, XK_p, spawn, {.v = dmpass_cmd } },
- { MODKEY|ControlMask|ShiftMask, XK_p, spawn, {.v = dmpass_full_cmd } },
- { MODKEY|ControlMask, XK_o, spawn, {.v = dmotp_cmd } },
+ { MODKEY, XK_BackSpace, dmenuspawn, {.v = dmpc_cmd } },
+ { MODKEY|ControlMask, XK_p, dmenuspawn, {.v = dmpass_cmd } },
+ { MODKEY|ControlMask|ShiftMask, XK_p, dmenuspawn, {.v = dmpass_full_cmd } },
+ { MODKEY|ControlMask, XK_o, dmenuspawn, {.v = dmotp_cmd } },
{ MODKEY, XK_End, spawn, {.v = ndate_cmd } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = bl_inc_cmd } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = bl_dec_cmd } },