minor fixes

This commit is contained in:
Luca Bilke 2022-09-16 17:50:07 +02:00
parent b9ab7c977a
commit 23476257b4
No known key found for this signature in database
GPG Key ID: 7B77C51E8C779E75
2 changed files with 2 additions and 3 deletions

View File

@ -173,7 +173,7 @@
STACKKEYS(MODKEY, focus) STACKKEYS(MODKEY | ShiftMask, push)
/* modifier key function argument */
{ MODKEY, XK_F1, spawn, SHCMD("groff -mom /usr/local/share/dwm/keybinds.mom -Tpdf | zathura -") },
{ MODKEY, XK_F2, spawn, {.v = (const char *[]){TERMINAL, "-e", "deluge-console"}} },
{ MODKEY, XK_F2, spawn, {.v = (const char *[]){TERMINAL, "-e", "deluge-console", NULL}} },
{ MODKEY, XK_F3, togglescratch, {.v = spmix} },
/*{ MODKEY, XK_F4, spawn, {.v = (const char *[]){NULL}} },*/
/*{ MODKEY, XK_F5, spawn, {.v = (const char *[]){NULL}} },*/

1
dwm.c
View File

@ -2300,7 +2300,6 @@ tagmon(const Arg *arg)
void
togglebar(const Arg *arg)
{
printf("toggling bar\n");
selmon->showbar = selmon->pertag->showbars[selmon->pertag->curtag] = !selmon->showbar;
updatebarpos(selmon);
XMoveResizeWindow(dpy, selmon->barwin, selmon->wx, selmon->by, selmon->ww, bh);