commit 403b39887cd3c533225120c01d800173170d9fb8
parent f1b3793e034f21e0658fff217084ad7c7340d13b
Author: Ethan Long <me@ethandl.dev>
Date: Thu, 8 Jan 2026 12:00:15 +1100
A few more changes.
Note that with `dwl` considered stagnant, I will be looking for
another wm, it is looking likely to be river but I want it to be
more stable first.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/config.h.void b/config.h.void
@@ -146,6 +146,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
/* commands */
static const char *termcmd[] = { "footclient", NULL };
static const char *menucmd[] = { "wmenu-run", "-f", "Victor Mono Bold 10", "-N", "1e1e2e", "-n", "b4befe", "-M", "1e1e2e", "-m", "b4befe", "-S", "b3befe", "-s", "1e1e2e", NULL };
+static const char *lockcmd[] = { "swaylock", NULL };
static const char *volumedowncmd[] = { "pamixer", "-d", "5", NULL };
static const char *volumeupcmd[] = { "pamixer", "-i", "5", NULL };
static const char *volumemutecmd[] = { "pamixer", "-t", NULL };
@@ -154,7 +155,6 @@ static const char *prevcmd[] = { "playerctl", "previous", NULL };
static const char *playpausecmd[] = { "playerctl", "play-pause", NULL };
static const char *browsercmd[] = { "brave", NULL };
static const char *emacscmd[] = { "emacsclient", "-c", NULL };
-static const char *rdpcmd[] = { "winvmrdp", NULL };
static const Key keys[] = {
/* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */
@@ -162,8 +162,9 @@ static const Key keys[] = {
/* Programs: */
{ MODKEY, XKB_KEY_d, spawn, {.v = menucmd} },
{ MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} },
- { MODKEY, XKB_KEY_w, spawn, {.v = rdpcmd} },
+ { MODKEY, XKB_KEY_w, spawn, {.v = browsercmd} },
{ MODKEY, XKB_KEY_e, spawn, {.v = emacscmd} },
+ { MODKEY|WLR_MODIFIER|SHIFT, XKB_KEY_Escape, spawn, {.v = lockcmd} },
/* General window management: */
{ MODKEY, XKB_KEY_b, togglebar, {0} },
{ MODKEY, XKB_KEY_j, focusstack, {.i = +1} },