diff options
| author | Kumar Damani <me@kumardamani.net> | 2026-09-05 01:48:14 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2026-09-05 01:48:14 +0000 |
| commit | c8d3b4fb88f97a0e2e98a8240c7e6227a34ada27 (patch) | |
| tree | 1359e7f425527119903eb3d1e3ddccbfc17df9b6 | |
| parent | 25cd46c66f589886733229fafcb2ad0e8d3f82c1 (diff) | |
win jump spawn
| -rw-r--r-- | config.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 } }, |
