Add toggle bottom bar
This commit is contained in:
37
config.def.h
37
config.def.h
@@ -3,22 +3,23 @@
|
||||
#include <X11/XF86keysym.h>
|
||||
|
||||
/* appearance */
|
||||
static const unsigned int borderpx = 4;/* border pixel of windows */
|
||||
static const unsigned int gappx = 15; /* gaps between windows */
|
||||
static const unsigned int snap = 32; /* snap pixel */
|
||||
static const int showbar= 1;/* 0 means no bar */
|
||||
static const int topbar = 1;/* 0 means bottom bar */
|
||||
static const char statussep = ';';
|
||||
static const int horizpadbar= 8;/* horizontal padding for statusbar */
|
||||
static const int vertpadbar = 12; /* vertical padding for statusbar */
|
||||
static const char *fonts[] = { "Ubuntu Mono:size=12" };
|
||||
static const char dmenufont[] = "Ubuntu Mono:size=12";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
static const char col_gray3[] = "#bbbbbb";
|
||||
static const char col_gray4[] = "#eeeeee";
|
||||
static const char col_cyan[]= "#005577";
|
||||
static const char *colors[][3] = {
|
||||
static const unsigned int borderpx = 4; /* border pixel of windows */
|
||||
static const unsigned int gappx = 15; /* gaps between windows */
|
||||
static const unsigned int snap = 32; /* snap pixel */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int showextrabar = 1; /* 0 means no extra bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char statussep = ';';
|
||||
static const int horizpadbar = 8; /* horizontal padding for statusbar */
|
||||
static const int vertpadbar = 12; /* vertical padding for statusbar */
|
||||
static const char *fonts[] = { "Ubuntu Mono:size=12" };
|
||||
static const char dmenufont[] = "Ubuntu Mono:size=12";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
static const char col_gray3[] = "#bbbbbb";
|
||||
static const char col_gray4[] = "#eeeeee";
|
||||
static const char col_cyan[] = "#005577";
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
||||
@@ -116,8 +117,8 @@ static const Key keys[] = {
|
||||
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } },
|
||||
{ SUPERKEY, XK_d, spawn, {.v = dmenucmd } },
|
||||
{ SUPERKEY, XK_Return, spawn, {.v = termcmd } },
|
||||
{ SUPERKEY, XK_b, togglebar, {.i = 1} },
|
||||
{ SUPERKEY|ShiftMask, XK_b, togglebar, {.i = 2} },
|
||||
{ SUPERKEY, XK_b, togglebar, {0} },
|
||||
{ SUPERKEY|ShiftMask, XK_b, toggleextrabar, {0} },
|
||||
{ ALTKEY, XK_Tab, focusstack, {.i = +1 } },
|
||||
{ SUPERKEY, XK_i, incnmaster, {.i = +1 } },
|
||||
{ SUPERKEY, XK_p, incnmaster, {.i = -1 } },
|
||||
|
||||
Reference in New Issue
Block a user