summaryrefslogtreecommitdiff
path: root/src/usercfg.h
diff options
context:
space:
mode:
authoruint23 <[email protected]>2025-04-16 23:11:52 +0100
committeruint23 <[email protected]>2025-04-16 23:11:52 +0100
commit4c45a4e1b328eb7db0c4a0a0fb6013f6bad14fb6 (patch)
tree1e199e6902d06423ff91119896c57ff28217e10c /src/usercfg.h
parentd1c02153202030c29c497636736483e0e2425bee (diff)
win borders working, tiling working, closing doesnt close master anymore
Diffstat (limited to 'src/usercfg.h')
-rw-r--r--src/usercfg.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/usercfg.h b/src/usercfg.h
index 69c613c..9f7f810 100644
--- a/src/usercfg.h
+++ b/src/usercfg.h
@@ -4,10 +4,11 @@
#include <X11/keysym.h>
#include "defs.h"
-#define GAPS 10
#define BORDER_WIDTH 1
-#define BORDER_FOC_COL "#00FF00"
-#define BORDER_UFOC_COL "#FF0000"
+#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)
static const char *termcmd[] = {"st", NULL};
@@ -15,6 +16,9 @@ static const char *termcmd[] = {"st", NULL};
static const Binding binds[] = {
BIND(MOD, Return, termcmd),
CALL(MOD|SHIFT, q, quit),
+ CALL(MOD, k, focus_next),
+ CALL(MOD, j, focus_prev),
+ CALL(MOD, c, close_focused),
};
#endif