From c1aa40459115b5476726abd8ab793d57d4523bd0 Mon Sep 17 00:00:00 2001 From: uint23 Date: Thu, 17 Apr 2025 12:50:13 +0100 Subject: snap borders and release time ( less cpu usage) --- src/usercfg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/usercfg.h') diff --git a/src/usercfg.h b/src/usercfg.h index 88513e3..b5ed815 100644 --- a/src/usercfg.h +++ b/src/usercfg.h @@ -9,6 +9,8 @@ #define BORDER_UFOC_COL "#FF4439" // the border color when unfocused #define GAPS 10 // how many pixels wide the border is #define MASTER_WIDTH 0.6 // how much of the screen the master window takes up (0.0-1.0) +#define MOTION_THROTTLE 144 // set this to your screen refreshrate +#define SNAP_DISTANCE 5 // snap distance static const char *termcmd[] = {"st", NULL}; -- cgit v1.2.3