From 23476257b4edc0d28d522c8ce3225571b4a1406c Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Fri, 16 Sep 2022 17:50:07 +0200 Subject: [PATCH] minor fixes --- config.h | 4 ++-- dwm.c | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/config.h b/config.h index 7b89134..6855203 100644 --- a/config.h +++ b/config.h @@ -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}} },*/ @@ -183,7 +183,7 @@ { MODKEY, XK_F9, spawn, {.v = (const char *[]){"dmenumount", NULL}} }, { MODKEY, XK_F10, spawn, {.v = (const char *[]){"dmenuumount", NULL}} }, /*{ MODKEY, XK_F11, spawn, {.v = (const char *[]){NULL}} },*/ - { MODKEY, XK_F12, spawn, {.v = (const char *[]){"xkb-switch ", "-n", NULL}} }, + { MODKEY, XK_F12, spawn, {.v = (const char *[]){"xkb-switch", "-n", NULL}} }, { MODKEY, XK_asciicircum, spawn, {.v = (const char *[]){"dmenuunicode", NULL}} }, /*{ MODKEY | ShiftMask, XK_asciicircum, spawn, {.v = (const char *[]){NULL}} },*/ TAGKEYS( XK_1, 0) diff --git a/dwm.c b/dwm.c index 7dfadb8..05b5695 100644 --- a/dwm.c +++ b/dwm.c @@ -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);