From 2554be4300170799a64c68b02a420b4fcdb90431 Mon Sep 17 00:00:00 2001 From: Alexander Leonhardt Date: Sat, 5 Sep 2026 10:52:22 +0200 Subject: Initial setup --- config.def.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/config.def.h b/config.def.h index 8a6eda0..aa108b2 100644 --- a/config.def.h +++ b/config.def.h @@ -4,13 +4,13 @@ ((hex >> 8) & 0xFF) / 255.0f, \ (hex & 0xFF) / 255.0f } /* appearance */ -static const int sloppyfocus = 1; /* focus follows mouse */ +static const int sloppyfocus = 0; /* 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 float urgentcolor[] = COLOR(0x00000055); /* This conforms to the xdg-protocol. Set the alpha to zero to restore the old behavior */ static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You can also use glsl colors */ @@ -43,6 +43,8 @@ static const MonitorRule monrules[] = { /* name mfact nmaster scale layout rotate/reflect x y * example of a HiDPI laptop monitor: { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, */ + { "eDP-1", 0.55f, 1, 1.7, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { "DP-3", 0.55f, 1, 1.7, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, /* default monitor rule: can be changed but cannot be eliminated; at least one monitor rule must exist */ }; @@ -53,11 +55,11 @@ static const struct xkb_rule_names xkb_rules = { /* example: .options = "ctrl:nocaps", */ - .options = NULL, + .options = "compose:ins", }; -static const int repeat_rate = 25; -static const int repeat_delay = 600; +static const int repeat_rate = 50; +static const int repeat_delay = 140; /* Trackpad */ static const int tap_to_click = 1; @@ -115,7 +117,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } /* commands */ -static const char *termcmd[] = { "foot", NULL }; +static const char *termcmd[] = { "ghostty", NULL }; static const char *menucmd[] = { "wmenu-run", NULL }; static const Key keys[] = { -- cgit