]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: change default colors to fit the i3 look & feel
authorMichael Stapelberg <michael@stapelberg.de>
Sat, 22 Oct 2011 11:34:06 +0000 (12:34 +0100)
committerMichael Stapelberg <michael@stapelberg.de>
Sat, 22 Oct 2011 11:34:06 +0000 (12:34 +0100)
The new default looks like this (like in docs/userguide):

colors {
background #000000
statusline #ffffff
focused_workspace  #ffffff #285577
active_workspace   #888888 #222222
inactive_workspace #888888 #222222
urgent_workspace   #ffffff #900000
}

If you want to go back to the previous colors, use:

colors {
background #000000
statusline #ffffff
focused_workspace  #ffffff #480000
active_workspace   #ffffff #480000
inactive_workspace #ffffff #240000
urgent_workspace   #ffffff #002400
}

i3bar/src/xcb.c

index fa3860e8ad40cdcddf21c012eec2651b1cb5ae23..e9cc6ea103e3fa624e774821d7ffb50cf9d456cf 100644 (file)
@@ -311,14 +311,14 @@ void init_colors(const struct xcb_color_strings_t *new_colors) {
     } while  (0)
     PARSE_COLOR(bar_fg, "FFFFFF");
     PARSE_COLOR(bar_bg, "000000");
-    PARSE_COLOR(active_ws_fg, "FFFFFF");
-    PARSE_COLOR(active_ws_bg, "480000");
-    PARSE_COLOR(inactive_ws_fg, "FFFFFF");
-    PARSE_COLOR(inactive_ws_bg, "240000");
+    PARSE_COLOR(active_ws_fg, "888888");
+    PARSE_COLOR(active_ws_bg, "222222");
+    PARSE_COLOR(inactive_ws_fg, "888888");
+    PARSE_COLOR(inactive_ws_bg, "222222");
     PARSE_COLOR(urgent_ws_fg, "FFFFFF");
-    PARSE_COLOR(urgent_ws_bg, "002400");
+    PARSE_COLOR(urgent_ws_bg, "900000");
     PARSE_COLOR(focus_ws_fg, "FFFFFF");
-    PARSE_COLOR(focus_ws_bg, "480000");
+    PARSE_COLOR(focus_ws_bg, "285577");
 #undef PARSE_COLOR
 }