diff options
| author | Johannes Herman <johannes.herman@gmail.com> | 2025-07-29 19:35:59 +0200 |
|---|---|---|
| committer | Johannes Herman <johannes.herman@gmail.com> | 2025-07-29 19:35:59 +0200 |
| commit | 5f7c6f8d08f336c5d18e67c145319a70abe4f61c (patch) | |
| tree | 738c9268d81ffa4fc497d831c7919cf56fee8d17 /config.def.h | |
| parent | 41977d8f791305f91059c1754450682fd5099d95 (diff) | |
sticky and unclutter
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 2f36fa9..36fa943 100644 --- a/config.def.h +++ b/config.def.h @@ -10,7 +10,7 @@ static const int smartborders = 1; /* 1 means no outer gap when th static const int smartgaps = 1; /* 1 means no outer gap when there is only one window */ static int gaps = 1; /* 1 means gaps between windows are added */ static const unsigned int gappx = 10; /* gap pixel between windows */ -static const unsigned int borderpx = 2; /* border pixel of windows */ +static const unsigned int borderpx = 3; /* border pixel of windows */ static const float rootcolor[] = COLOR(0x282828ff); static const float bordercolor[] = COLOR(0x7c6f64ff); static const float focuscolor[] = COLOR(0x458588ff); @@ -114,6 +114,8 @@ 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; +static const int cursor_timeout = 2; + /* If you want to use the windows key for MODKEY, use WLR_MODIFIER_LOGO */ #define MODKEY WLR_MODIFIER_LOGO @@ -148,6 +150,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_Return, zoom, {0} }, { MODKEY, XKB_KEY_Tab, view, {0} }, { MODKEY, XKB_KEY_g, togglegaps, {0} }, + { MODKEY, XKB_KEY_p, togglesticky, {0} }, { MODKEY, XKB_KEY_c, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, // { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, |
