summaryrefslogtreecommitdiff
path: root/src/usercfg.h
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-17 17:41:52 +0100
committeruint23 <[email protected]>2025-04-17 17:41:52 +0100
commitdf1e03f5cbfb4f40c6457d49bdcabfe26f1abd2d (patch)
treefaf6e5ea8e8f4d2b20d44cc2cefcffbbb138a0a7 /src/usercfg.h
parent57477a4dd0726153e759562ec5c7969a6d0147c7 (diff)
global toggle floating
Diffstat (limited to 'src/usercfg.h')
-rw-r--r--src/usercfg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/usercfg.h b/src/usercfg.h
index 738ecd1..bc1ae89 100644
--- a/src/usercfg.h
+++ b/src/usercfg.h
@@ -4,13 +4,13 @@
#include <X11/keysym.h>
#include "defs.h"
-#define BORDER_WIDTH 1
+#define BORDER_WIDTH 5
#define BORDER_FOC_COL "#AAFFFA" // the border color when focused
#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
+#define SNAP_DISTANCE 10 // snap distance
static const char *termcmd[] = {"st", NULL};
@@ -24,6 +24,7 @@ static const Binding binds[] = {
CALL(MOD, f, toggle_floating),
CALL(MOD, equal, inc_gaps),
CALL(MOD, minus, dec_gaps),
+ CALL(MOD, space, toggle_floating_global),
};
#endif