X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=config.h%2Fdwm%2Fconfig.h;h=efc9fb19bd1830c76d83ac2497e158c013049727;hb=678bc50c4eb21c38aa22c40bc31fd26800b6e96e;hp=3ebd358ca29439df4478f6bbbf29d8c9cf2f0ad4;hpb=907122ffdf547aaf278270f2621bfc1d1112bf74;p=dotfiles.git diff --git a/config.h/dwm/config.h b/config.h/dwm/config.h index 3ebd358..efc9fb1 100644 --- a/config.h/dwm/config.h +++ b/config.h/dwm/config.h @@ -61,13 +61,13 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *termcmd[] = { "st", NULL }; static const char *quitcmd[] = { "killall", "xinit", NULL }; -static const char *passmenu[] = { "/usr/share/doc/pass/examples/dmenu/passmenu", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; -static const char *passmenu_type[] = { "/usr/share/doc/pass/examples/dmenu/passmenu", "--type", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *passmenu[] = { "passmenu", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *passmenu_tmux[] = { "passmenu", "--tmux", "-m", dmenumon, "-fn", font0, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *scr[] = { "scr", NULL }; static const char *scr_sel[] = { "scr", "selection", NULL }; -static const char *lock[] = { "slock", NULL }; +static const char *lock[] = { "xautolock", "-locknow", NULL }; static const char *brightup[] = { "xbacklight", "-inc", "5", NULL }; -static const char *brightdown[] = { "xbacklight", "-inc", "5", NULL }; +static const char *brightdown[] = { "xbacklight", "-dec", "5", NULL }; static const char *volume_mute[] = {"pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL}; static const char *volume_dec[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL}; static const char *volume_inc[] = {"pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL}; @@ -78,7 +78,7 @@ static Key keys[] = { { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, { MODKEY, XK_y, spawn, {.v = passmenu } }, - { MODKEY|ShiftMask, XK_y, spawn, {.v = passmenu_type } }, + { MODKEY|ShiftMask, XK_y, spawn, {.v = passmenu_tmux } }, { MODKEY|ShiftMask, XK_l, spawn, {.v = lock } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } },