all repos — ryudo @ bc38a1ab32404a179c88e79663bfa14f51cce2ac

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

config.h (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#define SHOLDCOL 0xC8C8C8
#define HOLDCOL 0x444444
#define SBORDERCOL 0x17736C
#define BORDERCOL 0x000000
#define GHOSTCOL 0x797979
#define BORDER 4

#define GAPSZ 4

#define MENUBORDER 0
#define MBORDERCOL 0x000000
#define MENUFGCOL 0x797979
#define MENUBGCOL 0x000000
#define SMENUFGCOL 0x000000
#define SMENUBGCOL 0x1F9B92

/* Show 'Stick' menuitem? */
//#define SHOWSTICK

/* Notify on virtual desktop switch? */
#define VIRTNOTIFY

/* The summary and message to pass to the notifcation daeomon */
#define VIRTHEADER "virtual"
#define VIRTMSG "[%s]"

/* Deny focus to autostuck windows? (eg xosview, clock) */
#define NOFOCUS

/* Modifier key and associated modifier bits;
 * Shift = (1<<0)
 * Lock = (1<<1)
 * Control = (1<<2)
 * Mod1 = (1<<3)
 * Mod2 = (1<<4) 
 * Mod3 = (1<<5)
 * Mod4 = (1<<6)
 * Mod5 = (1<<7)
 */
#define SHORTCUTMOD Mod4Mask
#define MODBITS (1<<6)

/* Shortcut keys */

#define MAX_KEY XK_m
#define ICON_KEY XK_i
#define UNHIDE_KEY XK_u
#define MOVE_KEY XK_v
#define RESIZE_KEY XK_r
#define DESTROY_KEY XK_d
#define STICK_KEY XK_s

#define STICKYTOFRONT_KEY XK_t
#define STICKYTOBACK_KEY XK_b

#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

#define LAUNCH_KEY XK_slash

/* 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.
 * Remember the backslash at the end of non-terminating lines!
 */

#define AUTOSTICK {\
  "XOsview",\
  "XClock",\
  0\
}

/* 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\
}