New default colors, change a few integer names

This commit is contained in:
speediegq 2022-10-17 20:53:23 +02:00
parent 5fc6273a16
commit 87d7f36862
5 changed files with 28 additions and 32 deletions

View file

@ -14,7 +14,7 @@ static char *colors[][3] = {
[SchemeTitleNorm] = { col_textnorm, col_background, col_background },
[SchemeTitleSel] = { col_textsel, col_title, col_textsel },
[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 },
/* text background window border
*/

View file

@ -16,7 +16,7 @@
!! Bar colors
!!
- speedwm.col_background: #222222
- speedwm.col_title: #222222
- speedwm.col_title: #99b3ff
!!
!! Bar text colors
!!
@ -30,30 +30,29 @@
!!
!! Tag colors
!!
- speedwm.col_tag1: #333333
- speedwm.col_tag1: #99b3ff
- speedwm.col_tag1_text: #eeeeee
- speedwm.col_tag2: #333333
- speedwm.col_tag2: #99b3ff
- speedwm.col_tag2_text: #eeeeee
- speedwm.col_tag3: #333333
- speedwm.col_tag3: #99b3ff
- speedwm.col_tag3_text: #eeeeee
- speedwm.col_tag4: #333333
- speedwm.col_tag4: #99b3ff
- speedwm.col_tag4_text: #eeeeee
- speedwm.col_tag5: #333333
- speedwm.col_tag5: #99b3ff
- speedwm.col_tag5_text: #eeeeee
- speedwm.col_tag6: #333333
- speedwm.col_tag6: #99b3ff
- speedwm.col_tag6_text: #eeeeee
- speedwm.col_tag7: #333333
- speedwm.col_tag7: #99b3ff
- speedwm.col_tag7_text: #eeeeee
- speedwm.col_tag8: #333333
- speedwm.col_tag8: #99b3ff
- speedwm.col_tag8_text: #eeeeee
- speedwm.col_tag9: #333333
- speedwm.col_tag9: #99b3ff
- speedwm.col_tag9_text: #eeeeee
!!
!! Layout indicator colors
!!
- speedwm.col_layouttext: #000000
- speedwm.col_layoutbgnorm: #222222
- speedwm.col_layoutbgsel: #bbbbbb
- speedwm.col_layout: #99b3ff
!!
!! Systray colors
!!

View file

@ -237,7 +237,7 @@ static int resetgaps = 1; /* Reset gaps when there is o
*
* Bar colors */
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 */
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 */
/* 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_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_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_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_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_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_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_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_tag9[] = "#333333"; /* tag 9 background */
static char col_tag9[] = "#99b3ff"; /* tag 9 background */
static char col_tag9_text[] = "#eeeeee"; /* tag 9 text (fg) */
/* Layout indicator colors */
static char col_layouttext[] = "#000000"; /* Layout indicator text (fg) */
static char col_layoutbgnorm[] = "#222222"; /* Layout indicator background (norm) */
static char col_layoutbgsel[] = "#bbbbbb"; /* Layout indicator background (norm) */
static char col_layouttext[] = "#000000"; /* Layout indicator text */
static char col_layout[] = "#99b3ff"; /* Layout indicator background */
/* Systray colors */
static char col_systraybg[] = "#222222"; /* Systray background color */

View file

@ -3422,7 +3422,7 @@ motionnotify(XEvent *e)
if (ev->window == selmon->barwin) {
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) {
lts = TEXTW(selmon->ltsymbol);
}
@ -3455,7 +3455,7 @@ motionnotify(XEvent *e)
selmon->previewshow = 0;
XUnmapWindow(dpy, selmon->tagwin);
}
} // mousepreview && !hidetags
} /* mousepreview && !hidetags */
#endif
if (ev->window != root)
return;

View file

@ -14,8 +14,7 @@ ResourcePref resources[] = {
{ "col_title", STRING, &col_title },
{ "col_windowbordersel", STRING, &col_windowbordersel },
{ "col_windowbordernorm", STRING, &col_windowbordernorm },
{ "col_layoutbgsel", STRING, &col_layoutbgsel },
{ "col_layoutbgnorm", STRING, &col_layoutbgnorm },
{ "col_layout", STRING, &col_layout },
{ "col_layouttext", STRING, &col_layouttext },
{ "col_textnorm", STRING, &col_textnorm },
{ "col_textsel", STRING, &col_textsel },
@ -64,8 +63,7 @@ ResourcePref resources[] = {
{ "color4", STRING, &col_textnorm },
{ "color0", STRING, &col_textsel },
{ "color0", STRING, &col_layouttext },
{ "color2", STRING, &col_layoutbgnorm },
{ "color4", STRING, &col_layoutbgsel },
{ "color2", STRING, &col_layout },
{ "color1", STRING, &col_tag1 },
{ "color0", STRING, &col_tag1_text },
{ "color2", STRING, &col_tag2 },