New default colors, change a few integer names
This commit is contained in:
parent
5fc6273a16
commit
87d7f36862
2
colors.h
2
colors.h
|
@ -14,7 +14,7 @@ static char *colors[][3] = {
|
||||||
[SchemeTitleNorm] = { col_textnorm, col_background, col_background },
|
[SchemeTitleNorm] = { col_textnorm, col_background, col_background },
|
||||||
[SchemeTitleSel] = { col_textsel, col_title, col_textsel },
|
[SchemeTitleSel] = { col_textsel, col_title, col_textsel },
|
||||||
[SchemeTitleHidden] = { col_title, col_background, col_title },
|
[SchemeTitleHidden] = { col_title, col_background, col_title },
|
||||||
[SchemeLayout] = { col_layouttext, col_layoutbgsel, col_layoutbgnorm },
|
[SchemeLayout] = { col_layouttext, col_layout, col_layout },
|
||||||
[SchemeSystray] = { col_systraybg, col_systraybg, col_systraybg },
|
[SchemeSystray] = { col_systraybg, col_systraybg, col_systraybg },
|
||||||
/* text background window border
|
/* text background window border
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
!! Bar colors
|
!! Bar colors
|
||||||
!!
|
!!
|
||||||
- speedwm.col_background: #222222
|
- speedwm.col_background: #222222
|
||||||
- speedwm.col_title: #222222
|
- speedwm.col_title: #99b3ff
|
||||||
!!
|
!!
|
||||||
!! Bar text colors
|
!! Bar text colors
|
||||||
!!
|
!!
|
||||||
|
@ -30,30 +30,29 @@
|
||||||
!!
|
!!
|
||||||
!! Tag colors
|
!! Tag colors
|
||||||
!!
|
!!
|
||||||
- speedwm.col_tag1: #333333
|
- speedwm.col_tag1: #99b3ff
|
||||||
- speedwm.col_tag1_text: #eeeeee
|
- speedwm.col_tag1_text: #eeeeee
|
||||||
- speedwm.col_tag2: #333333
|
- speedwm.col_tag2: #99b3ff
|
||||||
- speedwm.col_tag2_text: #eeeeee
|
- speedwm.col_tag2_text: #eeeeee
|
||||||
- speedwm.col_tag3: #333333
|
- speedwm.col_tag3: #99b3ff
|
||||||
- speedwm.col_tag3_text: #eeeeee
|
- speedwm.col_tag3_text: #eeeeee
|
||||||
- speedwm.col_tag4: #333333
|
- speedwm.col_tag4: #99b3ff
|
||||||
- speedwm.col_tag4_text: #eeeeee
|
- speedwm.col_tag4_text: #eeeeee
|
||||||
- speedwm.col_tag5: #333333
|
- speedwm.col_tag5: #99b3ff
|
||||||
- speedwm.col_tag5_text: #eeeeee
|
- speedwm.col_tag5_text: #eeeeee
|
||||||
- speedwm.col_tag6: #333333
|
- speedwm.col_tag6: #99b3ff
|
||||||
- speedwm.col_tag6_text: #eeeeee
|
- speedwm.col_tag6_text: #eeeeee
|
||||||
- speedwm.col_tag7: #333333
|
- speedwm.col_tag7: #99b3ff
|
||||||
- speedwm.col_tag7_text: #eeeeee
|
- speedwm.col_tag7_text: #eeeeee
|
||||||
- speedwm.col_tag8: #333333
|
- speedwm.col_tag8: #99b3ff
|
||||||
- speedwm.col_tag8_text: #eeeeee
|
- speedwm.col_tag8_text: #eeeeee
|
||||||
- speedwm.col_tag9: #333333
|
- speedwm.col_tag9: #99b3ff
|
||||||
- speedwm.col_tag9_text: #eeeeee
|
- speedwm.col_tag9_text: #eeeeee
|
||||||
!!
|
!!
|
||||||
!! Layout indicator colors
|
!! Layout indicator colors
|
||||||
!!
|
!!
|
||||||
- speedwm.col_layouttext: #000000
|
- speedwm.col_layouttext: #000000
|
||||||
- speedwm.col_layoutbgnorm: #222222
|
- speedwm.col_layout: #99b3ff
|
||||||
- speedwm.col_layoutbgsel: #bbbbbb
|
|
||||||
!!
|
!!
|
||||||
!! Systray colors
|
!! Systray colors
|
||||||
!!
|
!!
|
||||||
|
|
25
options.h
25
options.h
|
@ -237,7 +237,7 @@ static int resetgaps = 1; /* Reset gaps when there is o
|
||||||
*
|
*
|
||||||
* Bar colors */
|
* Bar colors */
|
||||||
static char col_background[] = "#222222"; /* speedwm bar background and status background color */
|
static char col_background[] = "#222222"; /* speedwm bar background and status background color */
|
||||||
static char col_title[] = "#222222"; /* speedwm taskbar background color */
|
static char col_title[] = "#99b3ff"; /* speedwm taskbar background color */
|
||||||
|
|
||||||
/* General text colors */
|
/* General text colors */
|
||||||
static char col_textnorm[] = "#bbbbbb"; /* application title bar/font for norm */
|
static char col_textnorm[] = "#bbbbbb"; /* application title bar/font for norm */
|
||||||
|
@ -248,29 +248,28 @@ static char col_windowbordernorm[] = "#000000"; /* speedwm norm windo
|
||||||
static char col_windowbordersel[] = "#eeeeee"; /* speedwm sel window border */
|
static char col_windowbordersel[] = "#eeeeee"; /* speedwm sel window border */
|
||||||
|
|
||||||
/* Tag text/background colors */
|
/* Tag text/background colors */
|
||||||
static char col_tag1[] = "#333333"; /* tag 1 background */
|
static char col_tag1[] = "#99b3ff"; /* tag 1 background */
|
||||||
static char col_tag1_text[] = "#eeeeee"; /* tag 1 text (fg) */
|
static char col_tag1_text[] = "#eeeeee"; /* tag 1 text (fg) */
|
||||||
static char col_tag2[] = "#333333"; /* tag 2 background */
|
static char col_tag2[] = "#99b3ff"; /* tag 2 background */
|
||||||
static char col_tag2_text[] = "#eeeeee"; /* tag 2 text (fg) */
|
static char col_tag2_text[] = "#eeeeee"; /* tag 2 text (fg) */
|
||||||
static char col_tag3[] = "#333333"; /* tag 3 background */
|
static char col_tag3[] = "#99b3ff"; /* tag 3 background */
|
||||||
static char col_tag3_text[] = "#eeeeee"; /* tag 3 text (fg) */
|
static char col_tag3_text[] = "#eeeeee"; /* tag 3 text (fg) */
|
||||||
static char col_tag4[] = "#333333"; /* tag 4 background */
|
static char col_tag4[] = "#99b3ff"; /* tag 4 background */
|
||||||
static char col_tag4_text[] = "#eeeeee"; /* tag 4 text (fg) */
|
static char col_tag4_text[] = "#eeeeee"; /* tag 4 text (fg) */
|
||||||
static char col_tag5[] = "#333333"; /* tag 5 background */
|
static char col_tag5[] = "#99b3ff"; /* tag 5 background */
|
||||||
static char col_tag5_text[] = "#eeeeee"; /* tag 5 text (fg) */
|
static char col_tag5_text[] = "#eeeeee"; /* tag 5 text (fg) */
|
||||||
static char col_tag6[] = "#333333"; /* tag 6 background */
|
static char col_tag6[] = "#99b3ff"; /* tag 6 background */
|
||||||
static char col_tag6_text[] = "#eeeeee"; /* tag 6 text (fg) */
|
static char col_tag6_text[] = "#eeeeee"; /* tag 6 text (fg) */
|
||||||
static char col_tag7[] = "#333333"; /* tag 7 background */
|
static char col_tag7[] = "#99b3ff"; /* tag 7 background */
|
||||||
static char col_tag7_text[] = "#eeeeee"; /* tag 7 text (fg) */
|
static char col_tag7_text[] = "#eeeeee"; /* tag 7 text (fg) */
|
||||||
static char col_tag8[] = "#333333"; /* tag 8 background */
|
static char col_tag8[] = "#99b3ff"; /* tag 8 background */
|
||||||
static char col_tag8_text[] = "#eeeeee"; /* tag 8 text (fg) */
|
static char col_tag8_text[] = "#eeeeee"; /* tag 8 text (fg) */
|
||||||
static char col_tag9[] = "#333333"; /* tag 9 background */
|
static char col_tag9[] = "#99b3ff"; /* tag 9 background */
|
||||||
static char col_tag9_text[] = "#eeeeee"; /* tag 9 text (fg) */
|
static char col_tag9_text[] = "#eeeeee"; /* tag 9 text (fg) */
|
||||||
|
|
||||||
/* Layout indicator colors */
|
/* Layout indicator colors */
|
||||||
static char col_layouttext[] = "#000000"; /* Layout indicator text (fg) */
|
static char col_layouttext[] = "#000000"; /* Layout indicator text */
|
||||||
static char col_layoutbgnorm[] = "#222222"; /* Layout indicator background (norm) */
|
static char col_layout[] = "#99b3ff"; /* Layout indicator background */
|
||||||
static char col_layoutbgsel[] = "#bbbbbb"; /* Layout indicator background (norm) */
|
|
||||||
|
|
||||||
/* Systray colors */
|
/* Systray colors */
|
||||||
static char col_systraybg[] = "#222222"; /* Systray background color */
|
static char col_systraybg[] = "#222222"; /* Systray background color */
|
||||||
|
|
|
@ -3422,7 +3422,7 @@ motionnotify(XEvent *e)
|
||||||
if (ev->window == selmon->barwin) {
|
if (ev->window == selmon->barwin) {
|
||||||
i = x = 0;
|
i = x = 0;
|
||||||
|
|
||||||
// for leftlayout, we need to add the size of the layout indicator
|
/* for leftlayout, we need to add the size of the layout indicator */
|
||||||
if (layoutposition) {
|
if (layoutposition) {
|
||||||
lts = TEXTW(selmon->ltsymbol);
|
lts = TEXTW(selmon->ltsymbol);
|
||||||
}
|
}
|
||||||
|
@ -3455,7 +3455,7 @@ motionnotify(XEvent *e)
|
||||||
selmon->previewshow = 0;
|
selmon->previewshow = 0;
|
||||||
XUnmapWindow(dpy, selmon->tagwin);
|
XUnmapWindow(dpy, selmon->tagwin);
|
||||||
}
|
}
|
||||||
} // mousepreview && !hidetags
|
} /* mousepreview && !hidetags */
|
||||||
#endif
|
#endif
|
||||||
if (ev->window != root)
|
if (ev->window != root)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -14,8 +14,7 @@ ResourcePref resources[] = {
|
||||||
{ "col_title", STRING, &col_title },
|
{ "col_title", STRING, &col_title },
|
||||||
{ "col_windowbordersel", STRING, &col_windowbordersel },
|
{ "col_windowbordersel", STRING, &col_windowbordersel },
|
||||||
{ "col_windowbordernorm", STRING, &col_windowbordernorm },
|
{ "col_windowbordernorm", STRING, &col_windowbordernorm },
|
||||||
{ "col_layoutbgsel", STRING, &col_layoutbgsel },
|
{ "col_layout", STRING, &col_layout },
|
||||||
{ "col_layoutbgnorm", STRING, &col_layoutbgnorm },
|
|
||||||
{ "col_layouttext", STRING, &col_layouttext },
|
{ "col_layouttext", STRING, &col_layouttext },
|
||||||
{ "col_textnorm", STRING, &col_textnorm },
|
{ "col_textnorm", STRING, &col_textnorm },
|
||||||
{ "col_textsel", STRING, &col_textsel },
|
{ "col_textsel", STRING, &col_textsel },
|
||||||
|
@ -64,8 +63,7 @@ ResourcePref resources[] = {
|
||||||
{ "color4", STRING, &col_textnorm },
|
{ "color4", STRING, &col_textnorm },
|
||||||
{ "color0", STRING, &col_textsel },
|
{ "color0", STRING, &col_textsel },
|
||||||
{ "color0", STRING, &col_layouttext },
|
{ "color0", STRING, &col_layouttext },
|
||||||
{ "color2", STRING, &col_layoutbgnorm },
|
{ "color2", STRING, &col_layout },
|
||||||
{ "color4", STRING, &col_layoutbgsel },
|
|
||||||
{ "color1", STRING, &col_tag1 },
|
{ "color1", STRING, &col_tag1 },
|
||||||
{ "color0", STRING, &col_tag1_text },
|
{ "color0", STRING, &col_tag1_text },
|
||||||
{ "color2", STRING, &col_tag2 },
|
{ "color2", STRING, &col_tag2 },
|
||||||
|
|
Loading…
Reference in a new issue