diff --git a/README.org b/README.org index c9510de..48e1952 100644 --- a/README.org +++ b/README.org @@ -7,7 +7,6 @@ - [[#welcome][Welcome]] - [[#dwl---dwm-for-wayland][dwl - dwm for Wayland]] - [[#dwl-configuration][dwl Configuration]] - - [[#colors][Colors]] - [[#apearance][Apearance]] - [[#tagging][Tagging]] - [[#logging][Logging]] @@ -42,12 +41,11 @@ sudo make clean install See [[./README.md][Upstream README]] for details on project. - * dwl Configuration Taken from https://github.com/djpohly/dwl/issues/466. -** Colors +** Apearance #+BEGIN_SRC c :tangle config.h #define COLOR(hex) { ((hex >> 24) & 0xFF) / 255.0f, \ @@ -56,16 +54,14 @@ Taken from https://github.com/djpohly/dwl/issues/466. (hex & 0xFF) / 255.0f } #+END_SRC -** Apearance - #+BEGIN_SRC c :tangle config.h static const int sloppyfocus = 1; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const float rootcolor[] = COLOR(0x222222ff); -static const float bordercolor[] = COLOR(0x444444ff); -static const float focuscolor[] = COLOR(0x005577ff); -static const float urgentcolor[] = COLOR(0xff0000ff); +static const unsigned int borderpx = 2; /* border pixel of windows */ +static const float rootcolor[] = COLOR(0x282a36ff); +static const float bordercolor[] = COLOR(0x4d4d4dff); +static const float focuscolor[] = COLOR(0xbd93f9ff); +static const float urgentcolor[] = COLOR(0xff5555ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ #+END_SRC @@ -120,7 +116,7 @@ static const MonitorRule monrules[] = { { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, ,*/ /* defaults */ - { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, }; #+END_SRC diff --git a/config.h b/config.h index 1f21af7..d958c5b 100644 --- a/config.h +++ b/config.h @@ -5,11 +5,11 @@ static const int sloppyfocus = 1; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const float rootcolor[] = COLOR(0x222222ff); -static const float bordercolor[] = COLOR(0x444444ff); -static const float focuscolor[] = COLOR(0x005577ff); -static const float urgentcolor[] = COLOR(0xff0000ff); +static const unsigned int borderpx = 2; /* border pixel of windows */ +static const float rootcolor[] = COLOR(0x282a36ff); +static const float bordercolor[] = COLOR(0x4d4d4dff); +static const float focuscolor[] = COLOR(0xbd93f9ff); +static const float urgentcolor[] = COLOR(0xff5555ff); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ @@ -44,7 +44,7 @@ static const MonitorRule monrules[] = { { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, */ /* defaults */ - { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.5f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, }; static const struct xkb_rule_names xkb_rules = {