~koehr/configs

08ad23277d5240b0af5beeecdc14272017713e7f — koehr 1 year, 8 months ago 31aca49
adds bitwarden-rofi shortcut
1 files changed, 2 insertions(+), 0 deletions(-)

M dwm/config.h
M dwm/config.h => dwm/config.h +2 -0
@@ 65,6 65,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() 
// static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_highlight, "-sf", col_gray4, NULL };
static const char *dmenucmd[] = { "rofi", "-show", "run", NULL };
static const char *calccmd[] = { "rofi", "-show", "calc", "-modi", "calc", "-no-show-match", "-no-sort", NULL };
static const char *pwdcmd[]  = { "bwmenu", NULL };
static const char *termcmd[]  = { "st", "-f", dmenufont, "-e", "tmux", "new-session", "-A", NULL };
static const char *lockcmd[]  = { "slock", NULL };
static const char *sleepcmd[]  = { "sudo", "zzz", NULL };


@@ 77,6 78,7 @@ static const char *volumeMute[]  = { "pactl", "set-sink-mute", "@DEFAULT_SINK@",
static Key keys[] = {
	/* modifier                     key        function        argument */
	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
	{ MODKEY|ShiftMask,             XK_p,      spawn,          {.v = pwdcmd } },
	{ MODKEY,                       XK_c,      spawn,          {.v = calccmd } },
	{ MODKEY,                       XK_Return, spawn,          {.v = termcmd } },
	{ MODKEY,                       XK_Escape, spawn,          {.v = lockcmd } },