diff --git a/config.def.h b/config.def.h index 7dcb908..e9e985a 100644 --- a/config.def.h +++ b/config.def.h @@ -10,6 +10,12 @@ static const int numlock = 1; static const int capslock = 0; static const int smartborders = 1; static const unsigned int borderpx = 3; /* border pixel of windows */ +static const unsigned int gappih = 0; /* horiz inner gap between windows */ +static const unsigned int gappiv = 0; /* vert inner gap between windows */ +static const unsigned int gappoh = 0; /* horiz outer gap between windows and screen edge */ +static const unsigned int gappov = 0; /* vert outer gap between windows and screen edge */ +static const char *cursortheme = "Adwaita"; /* theme from ${XCURSOR_PATH} or /usr/share/cursors/xorg-x11 if emtpy*/ +static const char cursorsize[] = "24"; static const float bordercolor[] = COLOR(0x00000000); static const float focuscolor[] = COLOR(0x7aa6daff); static const float urgentcolor[] = COLOR(0xd54e53ff); @@ -23,14 +29,6 @@ static const char *const autostart[] = { "/home/korei/.config/dwl/dwlinit.sh", NULL, NULL /* terminate */ }; - -enum { - VIEW_L = -1, - VIEW_R = 1, - SHIFT_L = -2, - SHIFT_R = 2, -} RotateTags; - /* tagging - TAGCOUNT must be no greater than 31 */ #define TAGCOUNT (10) @@ -67,19 +65,19 @@ static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, { "[M]", monocle }, - { "[v]", vertile }, { "><>", NULL } /* no layout function means floating behavior */ }; -/* monitors */ -/* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */ +/* monitors + * The order in which monitors are defined determines their position. + * Non-configured monitors are always added to the left. */ 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 }, + /* name mfact nmaster scale layout rotate/reflect x y resx resy rate adaptive custom*/ + /* example of a HiDPI laptop monitor at 120Hz: + { "eDP-1", 0.5, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 120.000, 1, 0 }, */ /* defaults */ - { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.55, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 120.000999, 0, 0 }, }; @@ -134,7 +132,6 @@ static const enum libinput_config_accel_profile accel_profile = LIBINPUT_CONFIG_ static const double accel_speed = -0.5; static const int cursor_timeout = 2; - /* separate variables for trackpad */ static const enum libinput_config_accel_profile accel_profile_trackpad = LIBINPUT_CONFIG_ACCEL_PROFILE_ADAPTIVE; static const double accel_speed_trackpad = -0.0; @@ -145,7 +142,6 @@ LIBINPUT_CONFIG_TAP_MAP_LMR -- 1/2/3 finger tap maps to left/middle/right */ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TAP_MAP_LRM; - /* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */ #define MODKEY WLR_MODIFIER_LOGO #define SHIFT WLR_MODIFIER_SHIFT