2021-03-08 04:35:01 +00:00
|
|
|
/***********************
|
|
|
|
* RYUDO CONFIGURATION *
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/***************
|
2021-03-10 05:21:17 +00:00
|
|
|
* LOOK & FEEL * [All of these are required options]
|
2021-03-08 04:35:01 +00:00
|
|
|
**************/
|
|
|
|
|
|
|
|
/* Border colors */
|
2019-12-05 05:34:54 +00:00
|
|
|
#define SBORDERCOL 0x17736C
|
2019-12-02 18:23:00 +00:00
|
|
|
#define BORDERCOL 0x000000
|
2021-03-08 04:35:01 +00:00
|
|
|
|
|
|
|
/* Window sweep border color */
|
2019-12-02 18:23:00 +00:00
|
|
|
#define GHOSTCOL 0x797979
|
2021-03-08 04:35:01 +00:00
|
|
|
|
|
|
|
/* Hold mode border colors -- if you don't use 9term you don't need to
|
|
|
|
* care what these are
|
|
|
|
*/
|
|
|
|
#define SHOLDCOL 0xC8C8C8
|
|
|
|
#define HOLDCOL 0x444444
|
|
|
|
|
|
|
|
/* Border width in pixels */
|
2019-12-02 18:23:00 +00:00
|
|
|
#define BORDER 4
|
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
/* Gap size, in pixels, for pseudo-tiling. Should be even */
|
2021-02-24 20:50:29 +00:00
|
|
|
#define GAPSZ 4
|
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
/* Menu border width and color */
|
2019-12-02 18:23:00 +00:00
|
|
|
#define MENUBORDER 0
|
|
|
|
#define MBORDERCOL 0x000000
|
2021-03-08 04:35:01 +00:00
|
|
|
|
|
|
|
/* Normal menu colors */
|
2019-12-02 18:23:00 +00:00
|
|
|
#define MENUFGCOL 0x797979
|
|
|
|
#define MENUBGCOL 0x000000
|
2021-03-08 04:35:01 +00:00
|
|
|
|
|
|
|
/* Selected menu colors */
|
2019-12-02 18:23:00 +00:00
|
|
|
#define SMENUFGCOL 0x000000
|
2021-02-17 06:58:54 +00:00
|
|
|
#define SMENUBGCOL 0x1F9B92
|
2019-12-02 18:23:00 +00:00
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
// clang-format off
|
|
|
|
|
|
|
|
/* List of fonts to try, in order, for rendering the menus.
|
|
|
|
* Remember the backslash at the end of non-terminating lines!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define FONTLIST { \
|
|
|
|
"*-lucidatypewriter-medium-*-12-*-75-*",\
|
|
|
|
"lucm.latin1.9", \
|
|
|
|
"blit", \
|
|
|
|
"*-lucidatypewriter-bold-*-14-*-75-*", \
|
|
|
|
"9x15bold", \
|
|
|
|
"fixed", \
|
|
|
|
"*", \
|
|
|
|
0 \
|
|
|
|
}
|
|
|
|
|
2021-03-10 05:21:17 +00:00
|
|
|
/* 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.
|
2021-03-08 04:35:01 +00:00
|
|
|
* Remember the backslash at the end of non-terminating lines!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define VIRTUALLIST {\
|
|
|
|
"One", \
|
|
|
|
"Two", \
|
|
|
|
"Three", \
|
|
|
|
"Four", \
|
|
|
|
"Five", \
|
|
|
|
"Six", \
|
|
|
|
"Seven", \
|
|
|
|
"Eight", \
|
|
|
|
"Nine", \
|
|
|
|
"Ten", \
|
|
|
|
"Eleven", \
|
|
|
|
"Twelve", \
|
|
|
|
0 \
|
|
|
|
}
|
|
|
|
|
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
/************
|
2021-03-10 05:21:17 +00:00
|
|
|
* BEHAVIOR * [Everything in this section is optional unless otherwise noted]
|
2021-03-08 04:35:01 +00:00
|
|
|
***********/
|
|
|
|
|
2021-02-26 18:01:22 +00:00
|
|
|
/* This sets the size ratio for windows spawned via keyboard or
|
2021-02-26 22:18:39 +00:00
|
|
|
* center-snapped; CENTERNUM should be >= 2, so use 2/4 instead of 1/2
|
2021-02-26 05:36:37 +00:00
|
|
|
*/
|
2021-03-10 05:21:17 +00:00
|
|
|
#define CENTERNUM 2 // required unless you also comment/omit SNAPCENTER_KEY
|
|
|
|
#define CENTERDEN 3 // required unless you also comment/omit SNAPCENTER_KEY
|
2021-02-26 05:36:37 +00:00
|
|
|
|
2021-02-26 22:18:39 +00:00
|
|
|
/* Centered windows should maximize vertically by default?
|
|
|
|
* This is the behavior of new windows spawned with the launch shortcut
|
|
|
|
* and of centered windows with SHORTCUTMOD + SNAPCENTER_KEY --
|
|
|
|
* use SHORTCUTMOD + SHIFT + SNAPCENTER_KEY to get the other behavior.
|
|
|
|
*/
|
2021-02-26 05:36:37 +00:00
|
|
|
#define CENTERVMAX
|
|
|
|
|
2021-03-08 20:51:53 +00:00
|
|
|
/* Show 'Maximize' menuitem? */
|
2021-03-10 05:21:17 +00:00
|
|
|
// #define SHOWMAX
|
2021-03-08 20:51:53 +00:00
|
|
|
|
2021-02-17 06:58:54 +00:00
|
|
|
/* Show 'Stick' menuitem? */
|
2021-03-10 05:21:17 +00:00
|
|
|
// #define SHOWSTICK
|
2021-02-17 06:58:54 +00:00
|
|
|
|
|
|
|
/* Notify on virtual desktop switch? */
|
2021-02-17 06:28:22 +00:00
|
|
|
#define VIRTNOTIFY
|
2021-02-11 04:26:23 +00:00
|
|
|
|
2021-02-21 23:13:58 +00:00
|
|
|
/* The summary and message to pass to the notifcation daeomon */
|
|
|
|
#define VIRTHEADER "virtual"
|
|
|
|
#define VIRTMSG "[%s]"
|
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
// clang-format off
|
|
|
|
|
|
|
|
/* List of window classes to spawn as sticky;
|
|
|
|
* Class values for currently open windows are conveniently shown in the last
|
|
|
|
* column of the 'xshove' command given with no arguments.
|
2021-04-27 02:43:10 +00:00
|
|
|
* Can be partial strings.
|
2021-03-08 04:35:01 +00:00
|
|
|
* Remember the backslash at the end of non-terminating lines!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define AUTOSTICK {\
|
2021-04-27 02:43:10 +00:00
|
|
|
"XOsview", \
|
|
|
|
"XClock", \
|
|
|
|
0 \
|
|
|
|
}
|
|
|
|
|
|
|
|
/* List of terminal window classes -- include your favorite terminal here,
|
|
|
|
* and remove those you don't use. Can be partial strings.
|
|
|
|
* This array is required. Remember the backslash at the end of non-
|
|
|
|
* terminating lines!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define TERMINALS {\
|
|
|
|
"term", \
|
|
|
|
"Term", \
|
|
|
|
"xvt", \
|
|
|
|
"Alacritty", \
|
|
|
|
"onsole", \
|
|
|
|
0 \
|
2021-03-08 04:35:01 +00:00
|
|
|
}
|
|
|
|
|
2021-03-10 05:21:17 +00:00
|
|
|
/* List of window classes to REQUIRE window sweeping when spawning;
|
2021-04-27 02:43:10 +00:00
|
|
|
* Can be partial strings.
|
2021-03-10 05:21:17 +00:00
|
|
|
* Remember the backslash at the end of non-terminating lines!
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define ALWAYSDRAW {\
|
|
|
|
0 \
|
|
|
|
}
|
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
// clang-format on
|
|
|
|
|
|
|
|
/***************
|
2021-03-10 05:21:17 +00:00
|
|
|
* KEYBINDINGS * [Any shortcut key can be omitted]
|
2021-03-08 04:35:01 +00:00
|
|
|
**************/
|
|
|
|
|
2021-02-17 06:58:54 +00:00
|
|
|
/* Modifier key and associated modifier bits;
|
2021-02-21 23:13:58 +00:00
|
|
|
* Shift = (1<<0)
|
|
|
|
* Lock = (1<<1)
|
|
|
|
* Control = (1<<2)
|
|
|
|
* Mod1 = (1<<3)
|
2021-02-26 18:01:22 +00:00
|
|
|
* Mod2 = (1<<4)
|
2021-02-21 23:13:58 +00:00
|
|
|
* Mod3 = (1<<5)
|
|
|
|
* Mod4 = (1<<6)
|
|
|
|
* Mod5 = (1<<7)
|
2021-02-17 06:58:54 +00:00
|
|
|
*/
|
2021-03-08 04:35:01 +00:00
|
|
|
|
2019-12-02 18:23:00 +00:00
|
|
|
#define SHORTCUTMOD Mod4Mask
|
2021-02-26 18:01:22 +00:00
|
|
|
#define MODBITS (1 << 6)
|
2019-12-02 18:23:00 +00:00
|
|
|
|
2021-02-17 06:58:54 +00:00
|
|
|
/* Shortcut keys */
|
2021-03-08 04:35:01 +00:00
|
|
|
|
2019-12-02 18:23:00 +00:00
|
|
|
#define MAX_KEY XK_m
|
|
|
|
#define ICON_KEY XK_i
|
2019-12-07 19:32:51 +00:00
|
|
|
#define UNHIDE_KEY XK_u
|
2019-12-02 18:23:00 +00:00
|
|
|
#define MOVE_KEY XK_v
|
|
|
|
#define RESIZE_KEY XK_r
|
|
|
|
#define DESTROY_KEY XK_d
|
2021-02-11 04:26:23 +00:00
|
|
|
#define STICK_KEY XK_s
|
2019-12-02 18:23:00 +00:00
|
|
|
|
|
|
|
#define SNAPLEFT_KEY XK_h
|
|
|
|
#define SNAPRIGHT_KEY XK_l
|
|
|
|
#define SNAPTOP_KEY XK_k
|
|
|
|
#define SNAPBOTTOM_KEY XK_j
|
|
|
|
|
|
|
|
#define SNAPTOPLEFT_KEY XK_q
|
|
|
|
#define SNAPBOTTOMLEFT_KEY XK_w
|
|
|
|
#define SNAPBOTTOMRIGHT_KEY XK_o
|
|
|
|
#define SNAPTOPRIGHT_KEY XK_p
|
|
|
|
|
|
|
|
#define SNAPCENTER_KEY XK_c
|
|
|
|
|
|
|
|
#define NEXTVIRT_KEY XK_Right
|
|
|
|
#define PREVVIRT_KEY XK_Left
|
|
|
|
|
2019-12-05 05:34:54 +00:00
|
|
|
#define LAUNCH_KEY XK_slash
|
2021-02-11 04:26:23 +00:00
|
|
|
|
2021-03-08 04:35:01 +00:00
|
|
|
// ignore these for now -- this is a feature in development
|
|
|
|
#define STICKYTOFRONT_KEY XK_t
|
|
|
|
#define STICKYTOBACK_KEY XK_b
|