Change command to run when clicked on statusbar
This commit is contained in:
parent
7a3a2c3cc1
commit
d2b23e176d
4
config.h
4
config.h
@ -32,7 +32,7 @@ static const char col_gray1[] = "#232323";
|
|||||||
static const char col_gray2[] = "#303030";
|
static const char col_gray2[] = "#303030";
|
||||||
static const char col_gray3[] = "#404040";
|
static const char col_gray3[] = "#404040";
|
||||||
static const char col_gray4[] = "#b1b1b1";
|
static const char col_gray4[] = "#b1b1b1";
|
||||||
static const char col_gray5[] = "#d5bbbc";
|
static const char col_gray5[] = "#c0c0c0";
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_gray4, col_gray1, col_gray2 },
|
[SchemeNorm] = { col_gray4, col_gray1, col_gray2 },
|
||||||
@ -148,7 +148,7 @@ static Button buttons[] = {
|
|||||||
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
|
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
|
||||||
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
|
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
|
||||||
{ ClkWinTitle, 0, Button2, zoom, {0} },
|
{ ClkWinTitle, 0, Button2, zoom, {0} },
|
||||||
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
|
{ ClkStatusText, 0, Button2, spawn, SHCMD("gsimplecal") },
|
||||||
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
|
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
|
||||||
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
|
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
|
||||||
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
|
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
|
||||||
|
Loading…
Reference in New Issue
Block a user