From c8d3b4fb88f97a0e2e98a8240c7e6227a34ada27 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Fri, 4 Sep 2026 21:48:14 -0400 Subject: win jump spawn --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 29d1d13..6f90031 100644 --- a/config.h +++ b/config.h @@ -64,6 +64,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() /* prepend common/scripts to PATH so dmenu lists custom scripts */ static const char *dmenucmd[] = { "/bin/sh", "-c", "PATH=\"$HOME/.config/home-manager/common/scripts:$PATH\"; exec dmenu_run \"$@\"", "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; +static const char *winjumpexec[] = { "/bin/sh", "-c", "$HOME/.config/home-manager/common/scripts/win-jump", NULL }; static const char *volupcmd[] = { "/bin/sh", "-c", "pactl set-sink-mute @DEFAULT_SINK@ 0; pactl set-sink-volume @DEFAULT_SINK@ +5%", NULL }; static const char *voldowncmd[] = { "/bin/sh", "-c", "pactl set-sink-mute @DEFAULT_SINK@ 0; pactl set-sink-volume @DEFAULT_SINK@ -5%", NULL }; static const char *volmutecmd[] = { "/bin/sh", "-c", "pactl set-sink-mute @DEFAULT_SINK@ toggle", NULL }; @@ -76,6 +77,7 @@ static const char *screenlock[] = { "/bin/sh", "-c", "dm-tool lock", NULL }; static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, + { MODKEY, XK_w, spawn, {.v = winjumpexec } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = volupcmd } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = voldowncmd } }, { 0, XF86XK_AudioMute, spawn, {.v = volmutecmd } }, -- cgit v1.2.3