aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorGuido Cella <guido@guidocella.xyz>2020-12-19 18:39:30 +0100
committerGuido Cella <guido@guidocella.xyz>2020-12-19 18:39:30 +0100
commitfeeacc88c41653937a2698fcb39a455cd41c44d8 (patch)
tree76a451c82b16666f2fd494d4c097cc88f14e1344 /config.def.h
parentaa679c4f29fd386e0bb89dd95ec2093f9c998ba8 (diff)
tweak trackpad variables
Add static const and move them below in order to group the keyboard options.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 2c11fd3..fc30ba8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -42,13 +42,13 @@ static const struct xkb_rule_names xkb_rules = {
*/
};
-/* Trackpad */
-int tap_to_click = 1;
-int natural_scrolling = 1;
-
static const int repeat_rate = 25;
static const int repeat_delay = 600;
+/* Trackpad */
+static const int tap_to_click = 1;
+static const int natural_scrolling = 1;
+
#define MODKEY WLR_MODIFIER_ALT
#define TAGKEYS(KEY,SKEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \