diff --git a/config.h b/config.h index 3430a4b..97c8347 100644 --- a/config.h +++ b/config.h @@ -194,12 +194,12 @@ static const Rule rules[] = { * name - does nothing, intended for visual clue and for logging / debugging */ static const BarRule barrules[] = { - /* monitor bar alignment widthfunc drawfunc clickfunc hoverfunc name */ - { -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, hover_tags, "tags" }, - { 'A', 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" }, - { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" }, - { 'A', 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_statuscmd, NULL, "status" }, - { -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, NULL, "wintitle" }, + /* monitor bar alignment widthfunc drawfunc clickfunc hoverfunc name */ + { -1, 0, BAR_ALIGN_LEFT, width_tags, draw_tags, click_tags, hover_tags, "tags" }, + { 'A', 0, BAR_ALIGN_RIGHT, width_systray, draw_systray, click_systray, NULL, "systray" }, + { -1, 0, BAR_ALIGN_LEFT, width_ltsymbol, draw_ltsymbol, click_ltsymbol, NULL, "layout" }, + { 'A', 0, BAR_ALIGN_RIGHT, width_status, draw_status, click_status, NULL, "status" }, + { -1, 0, BAR_ALIGN_NONE, width_wintitle, draw_wintitle, click_wintitle, NULL, "wintitle" }, }; /* layout(s) */ @@ -445,9 +445,7 @@ static const Button buttons[] = { { ClkLtSymbol, 0, Button1, layoutmenu, {0} }, // { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, // { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button1, sigstatusbar, {.i = 1 } }, - { ClkStatusText, 0, Button2, sigstatusbar, {.i = 2 } }, - { ClkStatusText, 0, Button3, sigstatusbar, {.i = 3 } }, + { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} }, diff --git a/patches.h b/patches.h index d732315..1aef575 100644 --- a/patches.h +++ b/patches.h @@ -29,7 +29,7 @@ * dwmblocks: https://github.com/torrinfail/dwmblocks * https://dwm.suckless.org/patches/statuscmd/ */ -#define BAR_DWMBLOCKS_PATCH 1 +#define BAR_DWMBLOCKS_PATCH 0 /* Originally the dwmblocks + statuscmd patch used a user defined signal (SIGUSR1) * for communicating with dwmblocks to indicate update signal and what button was @@ -144,7 +144,7 @@ * when clicking the status bar. Refer to the website for usage. * https://dwm.suckless.org/patches/statuscmd/ */ -#define BAR_STATUSCMD_PATCH 1 +#define BAR_STATUSCMD_PATCH 0 /* Status2d allows colors and rectangle drawing in your dwm status bar. * This patch is incompatible with the statuscolors patch which takes precedence.