From d2b23e176d747b3680f2c7fea4857c1ee48d81ee Mon Sep 17 00:00:00 2001 From: Przemek Grondek Date: Wed, 7 Jul 2021 01:43:01 +0200 Subject: [PATCH] Change command to run when clicked on statusbar --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index f2a4c9f..013ade9 100644 --- a/config.h +++ b/config.h @@ -32,7 +32,7 @@ static const char col_gray1[] = "#232323"; static const char col_gray2[] = "#303030"; static const char col_gray3[] = "#404040"; static const char col_gray4[] = "#b1b1b1"; -static const char col_gray5[] = "#d5bbbc"; +static const char col_gray5[] = "#c0c0c0"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray4, col_gray1, col_gray2 }, @@ -148,7 +148,7 @@ static Button buttons[] = { { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkWinTitle, 0, Button2, zoom, {0} }, - { ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, + { ClkStatusText, 0, Button2, spawn, SHCMD("gsimplecal") }, { ClkClientWin, MODKEY, Button1, movemouse, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} },