From 5f7c6f8d08f336c5d18e67c145319a70abe4f61c Mon Sep 17 00:00:00 2001 From: Johannes Herman Date: Tue, 29 Jul 2025 19:35:59 +0200 Subject: sticky and unclutter --- config.def.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'config.def.h') 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]} }, -- cgit v1.2.3