summaryrefslogtreecommitdiff
path: root/dwm-6.2/config.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-02-10 11:34:44 +0100
committertslil clingman <tslil@posteo.de>2023-02-10 11:34:44 +0100
commit2915c2984e81251256a9dbe6eb64c8ff950279d0 (patch)
tree5593cb863a8c112ae7147132326f3df21423a16f /dwm-6.2/config.h
parent67b505107e8c8075b409bdc7a7a8a0158caf4aa6 (diff)
[dwm] rstack hack, bstack{,horiz}, default per monitor
Diffstat (limited to 'dwm-6.2/config.h')
-rw-r--r--dwm-6.2/config.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h
index d2baa43..f86a868 100644
--- a/dwm-6.2/config.h
+++ b/dwm-6.2/config.h
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
+static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int gappx = 3; /* gaps between windows */
static const unsigned int snap = 16; /* snap pixel */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
@@ -10,7 +10,7 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display s
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 0; /* 0 means bottom bar */
-static const char *fonts[] = { "Terminus:size=12" };
+static const char *fonts[] = { "BmPlus IBM VGA 9x16:size=12" };
static const char col_gray1[] = "#000000";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -39,10 +39,17 @@ static const float mfact = 0.55; /* factor of master area size [0.05..0.95]
static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
+static const int lpm[] = {
+ /* Index of preferred layout], if LENGTH(lpm)<#monitors -> default layout */
+ 2, 0
+};
+
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "[M]", monocle },
+ { "===", bstackhoriz },
+ { "TTT", bstack },
{ "><>", NULL }, /* no layout function means floating behavior */
};
@@ -117,7 +124,9 @@ static Key keys[] = {
{ MODKEY, XK_s, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_r, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_a, setlayout, {.v = &layouts[2]} },
- { MODKEY|ShiftMask, XK_r, togglefloating, {0} },
+ { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[3]} },
+ { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} },
+ { MODKEY|ShiftMask, XK_a, togglefloating, {0} },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_b, focusmon, {.i = +1 } },
@@ -146,8 +155,7 @@ static Button buttons[] = {
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
- { ClkClientWin, MODKEY|ShiftMask, Button1, resizemouse, {0} },
- { ClkClientWin, MODKEY, Button2, resizemouse, {0} },
+ { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },