diff --git a/config.h b/config.h index d91ab60..9be0b4d 100644 --- a/config.h +++ b/config.h @@ -93,10 +93,11 @@ static const char *browser[] = { BROWSER, NULL }; static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, "-l", "5", "-i", NULL }; static const char *manmenu[] = { "/home/noah/.local/bin/manmenu", NULL }; static const char *scrotselection[] = { "/usr/bin/scrot", "-s", "~/pcs/screenshots/%Y-%m-%d-%s%w%h.jpg", NULL }; -static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "+2%", NULL }; -static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "@DEFAULT_SINK@", "-2%", NULL }; -static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL }; +static const char *upvol[] = { "/home/noah/.local/bin/volcontrol", "up", NULL }; +static const char *downvol[] = { "/home/noah/.local/bin/volcontrol", "down", NULL }; +static const char *mutevol[] = { "/home/noah/.local/bin/volcontrol", "mute", NULL }; static const char *pulsemixer[] = { TERMINAL, "-e", "/usr/bin/pulsemixer", NULL }; +static const char *scratchpad[] = { TERMINAL, "-e", "/usr/bin/nvim", "$(mktemp)", NULL }; static const char *uni[] = { "/home/noah/.local/bin/uni", NULL }; static Key keys[] = { @@ -130,6 +131,7 @@ static Key keys[] = { { MODKEY, XK_e, spawn, {.v = pulsemixer } }, { MODKEY, XK_y, spawn, {.v = manmenu } }, { MODKEY, XK_r, spawn, {.v = uni } }, + { MODKEY, XK_s, spawn, {.v = scratchpad } }, { 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } }, { 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } }, { 0, XF86XK_AudioMute, spawn, {.v = mutevol } }, diff --git a/drw.o b/drw.o index f8766b0..b01bbef 100644 Binary files a/drw.o and b/drw.o differ diff --git a/dwm b/dwm index c8006b8..8b64acb 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 726cab7..f9f1e24 100644 Binary files a/dwm.o and b/dwm.o differ diff --git a/util.o b/util.o index 5dee2d7..3b48c2f 100644 Binary files a/util.o and b/util.o differ