diff options
author | Bonicgamer <44382222+Bonicgamer@users.noreply.github.com> | 2020-08-15 13:56:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-15 13:56:22 -0400 |
commit | a683ec501e0c67d3d078d30d12876cdf19186f5a (patch) | |
tree | 671fa2b5676bd64801d606012d2eecd41f409aa8 /config.def.h | |
parent | 0ac2f6616a5f0f3ab10b53dcf294862d87116421 (diff) | |
parent | 9632704e861c48d57fdd172be721cf8ed0a42e49 (diff) |
Merge pull request #1 from djpohly/master
Pull Request
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h index 681cfba..5f26c3e 100644 --- a/config.def.h +++ b/config.def.h @@ -10,8 +10,10 @@ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ + /* examples: { "Gimp", NULL, 0, 1, -1 }, - { "Firefox", NULL, 1 << 8, 0, -1 }, + { "firefox", NULL, 1 << 8, 0, -1 }, + */ }; /* layout(s) */ @@ -19,6 +21,7 @@ static const Layout layouts[] = { /* symbol arrange function */ { "[]=", tile }, { "><>", NULL }, /* no layout function means floating behavior */ + { "[M]", monocle }, }; /* monitors */ @@ -52,6 +55,7 @@ static const int repeat_delay = 600; static const char *termcmd[] = { "alacritty", NULL }; static const Key keys[] = { + /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* modifier key function argument */ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, @@ -62,9 +66,10 @@ static const Key keys[] = { { MODKEY, XKB_KEY_l, setmfact, {.f = +0.05} }, { MODKEY, XKB_KEY_Return, zoom, {0} }, { MODKEY, XKB_KEY_Tab, view, {0} }, - { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_c, killclient, {0} }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, + { MODKEY, XKB_KEY_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XKB_KEY_space, setlayout, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_space, togglefloating, {0} }, { MODKEY, XKB_KEY_0, view, {.ui = ~0} }, |