all repos — ryudo @ 1102e2670740470648d564620bb2008a86cf2d39

the floatiling window manager that flows; fork of rio from plan9port

config.h: document everything
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmBIV00ACgkQO3+8IhRO
Y5gyNA/+KiGtBg7a91OGLITicM5CynHjmEChrX8jJn5g9WhRAAFVtieqXJScujsW
3MHgKNA+otrQF56y13q7yJMQgVoK/FZVDobdkwb4LNxJp4V662yIQkLxqB5OAM9S
J0o2QC7E2Y9F5Weuu14r3HhM52zfgKTnpA9Xm8WhSAETta0g2FsFcbp+DjZN+GfH
67wwIhrNT86My/NwOA8ErUKnDFL/JQ6mF3SwS57vr/3aLy3RANbqiAloaUgUrB4A
8DZ+CqvVlXh3pjzo8nzKH1PsPfxCJ+ePWD8nKcVQaqg9fCehkewPDwueydIznzCy
bE05FOz+8SjrO+NS1uKV6MOlqEMkyjbPG3Dv/CkZYiWMXdZWxHz2Z0Q25fLFWLFX
IpBWzaksKQsC3XxGCPzwU//xTavdfCShsgGfw20zE+nVKkRo4DQW7KgFkcAcPGuz
2qbVWKUYTixvXFF0OV1vahv1LuBRMjMmU2jy+Jp9An29zh6cw1U4R6JoF9h9EXaQ
xiCCn/DblVSkcP7ncPIrRccTZWuFMr1NvAkLrzKEqjMn1oQfW9ZS1m2A4ggT5K+w
0peoKYQKSkvwnVrF7qaJffYuQt8dSB/lOyFTxJrahcWcKqWvZ72iobN0wdyYDpfU
kDrKkyYbLt4oYb7d/GA4ZTC3dCHs85L09dbPa0Mep+T+xKguSgo=
=KcCp
-----END PGP SIGNATURE-----
commit

1102e2670740470648d564620bb2008a86cf2d39

parent

836136e1533801b6f2abe59fdb77d7cc9f28201f

1 files changed, 19 insertions(+), 16 deletions(-)

jump to
M config.hconfig.h

@@ -3,7 +3,7 @@ * RYUDO CONFIGURATION *

**********************/ /*************** - * LOOK & FEEL * + * LOOK & FEEL * [All of these are required options] **************/ /* Border colors */

@@ -54,8 +54,9 @@ "*", \

0 \ } -/* Names for the virtual desktops. You can define all 12, or only - * as many as you use. +/* Names for the virtual desktops. Even if you don't use all of them, + * it's safer to keep dummy or null values for all of them in case you + * start the program with a different number of virtuals by happenstance. * Remember the backslash at the end of non-terminating lines! */

@@ -78,14 +79,14 @@

// clang-format on /************ - * BEHAVIOR * + * BEHAVIOR * [Everything in this section is optional unless otherwise noted] ***********/ /* This sets the size ratio for windows spawned via keyboard or * center-snapped; CENTERNUM should be >= 2, so use 2/4 instead of 1/2 */ -#define CENTERNUM 2 -#define CENTERDEN 3 +#define CENTERNUM 2 // required unless you also comment/omit SNAPCENTER_KEY +#define CENTERDEN 3 // required unless you also comment/omit SNAPCENTER_KEY /* Centered windows should maximize vertically by default? * This is the behavior of new windows spawned with the launch shortcut

@@ -95,10 +96,10 @@ */

#define CENTERVMAX /* Show 'Maximize' menuitem? */ -//#define SHOWMAX +// #define SHOWMAX /* Show 'Stick' menuitem? */ -//#define SHOWSTICK +// #define SHOWSTICK /* Notify on virtual desktop switch? */ #define VIRTNOTIFY

@@ -115,20 +116,25 @@ * column of the 'xshove' command given with no arguments.

* Remember the backslash at the end of non-terminating lines! */ -/* You can remove/comment the entire macro to improve performance if you - * don't use this feature! - */ - #define AUTOSTICK {\ "XOsview", \ "XClock", \ 0 \ } +/* List of window classes to REQUIRE window sweeping when spawning; + * Remember the backslash at the end of non-terminating lines! + */ + +#define ALWAYSDRAW {\ + "cmapcube", \ + 0 \ +} + // clang-format on /*************** - * KEYBINDINGS * + * KEYBINDINGS * [Any shortcut key can be omitted] **************/ /* Modifier key and associated modifier bits;

@@ -146,9 +152,6 @@ #define SHORTCUTMOD Mod4Mask

#define MODBITS (1 << 6) /* Shortcut keys */ -/* Any of these can be commented out/omitted if you want to free up - * your keyboard shortcuts for other things. Alt-tab is always bound. - */ #define MAX_KEY XK_m #define ICON_KEY XK_i