summaryrefslogtreecommitdiff
path: root/dwl/config.def.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-09-12 20:56:09 +0200
committertslil clingman <tslil@posteo.de>2023-09-12 20:56:09 +0200
commitf749a8ac8423e11739ff1315d1ff50256f565d95 (patch)
treea9384907d8cc35d786df09ca01d081a7d35ee703 /dwl/config.def.h
parent4e51afbb822c4926151cd80a9e1ef357f05768d6 (diff)
[dwl] update from master
Diffstat (limited to 'dwl/config.def.h')
-rw-r--r--dwl/config.def.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/dwl/config.def.h b/dwl/config.def.h
index 61e5953..be26d3c 100644
--- a/dwl/config.def.h
+++ b/dwl/config.def.h
@@ -2,14 +2,14 @@
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[] = {0.3, 0.3, 0.3, 1.0};
static const float bordercolor[] = {0.5, 0.5, 0.5, 1.0};
static const float focuscolor[] = {1.0, 0.0, 0.0, 1.0};
/* To conform the xdg-protocol, set the alpha to zero to restore the old behavior */
static const float fullscreen_bg[] = {0.1, 0.1, 0.1, 1.0};
-/* tagging */
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+/* tagging - tagcount must be no greater than 31 */
+#define TAGCOUNT (9)
+static const int tagcount = TAGCOUNT;
static const Rule rules[] = {
/* app_id title tags mask isfloating monitor */
@@ -33,7 +33,7 @@ static const Layout layouts[] = {
static const MonitorRule monrules[] = {
/* name mfact nmaster scale layout rotate/reflect x y */
/* example of a HiDPI laptop monitor:
- { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL -1, -1 },
+ { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
*/
/* defaults */
{ NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
@@ -68,9 +68,9 @@ LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN
static const enum libinput_config_scroll_method scroll_method = LIBINPUT_CONFIG_SCROLL_2FG;
/* You can choose between:
-LIBINPUT_CONFIG_CLICK_METHOD_NONE
-LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
-LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER
+LIBINPUT_CONFIG_CLICK_METHOD_NONE
+LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS
+LIBINPUT_CONFIG_CLICK_METHOD_CLICKFINGER
*/
static const enum libinput_config_click_method click_method = LIBINPUT_CONFIG_CLICK_METHOD_BUTTON_AREAS;