diff options
| -rw-r--r-- | dwm/config.def.h | 2 | ||||
| -rw-r--r-- | st/config.def.h | 3 | ||||
| -rw-r--r-- | st/x.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/dwm/config.def.h b/dwm/config.def.h index 0c95250..b6ab9d2 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h @@ -316,7 +316,7 @@ static Keychord *keychords[] = { TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - // APPEARANCE + // APPEARANCES &((Keychord){1, {{WINKEY, XK_a}}, changefocusopacity, {.f = +0.025}}), &((Keychord){1, {{WINKEY, XK_s}}, changefocusopacity, {.f = -0.025}}), &((Keychord){1, {{WINMOD, XK_a}}, changeunfocusopacity, {.f = +0.025}}), diff --git a/st/config.def.h b/st/config.def.h index fa6d1a6..aab0d0f 100644 --- a/st/config.def.h +++ b/st/config.def.h @@ -301,6 +301,7 @@ static MouseShortcut mshortcuts[] = { #define WINULTRA (WINKEY|ControlMask|ShiftMask) #define EXTRAMOD (ControlMask|ShiftMask) +#define OPENER "xdg-open" static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL }; static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL }; static char *copyoutput[] = { "/bin/sh", "-c", "st-copyout", "externalpipe", NULL }; @@ -344,7 +345,7 @@ static Shortcut shortcuts[] = { { ALTKEY, XK_v, clippaste, {.i = 0} }, { ALTMOD, XK_V, selpaste, {.i = 0} }, { ShiftMask, XK_Insert, selpaste, {.i = 0} }, - { ALTMOD2, XK_v, opencopied, {.v = "xdg-open"} }, + { ALTMOD2, XK_v, opencopied, {.v = OPENER} }, { ALTKEY, XK_o, externalpipe, {.v = openurlcmd } }, // PRINTERS @@ -2208,7 +2208,7 @@ kpress(XEvent *ev) if (!( len == 0 && e -> state & ~ignoremod // ACMPL_ISSUE: I'm not sure that this is the right way - | ALTCTRL == ALTCTRL + | ALTMOD2 == ALTMOD2 )) autocomplete ((const Arg []) { ACMPL_DEACTIVATE }); |
