forked from seanpringle/goomwwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
goomwwm.1
1572 lines (1571 loc) · 30.5 KB
/
goomwwm.1
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.TH GOOMWWM 1 ""
.SH NAME
.PP
goomwwm - Get out of my way, Window Manager!
.SH SYNOPSIS
.PP
\f[B]goomwwm\f[] [ options ]
.SH DESCRIPTION
.PP
\f[B]goomwwm\f[] is an X11 window manager implemented in C as a
cleanroom software project.
It manages windows in a minimal floating layout with normal mouse
controls, while also providing flexible keyboard-driven controls for
window switching, sizing, moving, tagging, and tiling.
It is fast, lightweight, modeless, Xinerama-aware, and EWMH compatible
wherever possible.
.PP
Keyboard window movement occurs on a 3x3 fullscreen grid.
For example, a top-left aligned window moved to the right would reappear
top-center, and if moved again, top-right.
.PP
Keyboard window sizing moves windows through four basic sizes that tile
well: 1/9th of screen (1/3 width, 1/3 height), 1/4th, 4/9th, and
fullscreen.
Combined with EWMH horizontal and vertical maxmimization, plus some
snap-to-edge and expand-to-fill-space controls, manual tiling is easy.
.PP
Windows are grouped by tags.
Activating a tag raises all windows in the tag.
A window may have multiple tags.
EWMH panels, pagers, and taskbars see tags as desktops.
.PP
License: MIT/X11
.SH USAGE
.PP
See options below for custom key combinations.
These are the defaults.
.PP
Below, \f[B]Mod\f[] refers to the global modifier key which is
\f[B]Mod4\f[] by default.
Usually Mod4 is mapped to the left Windows key.
To change it, see \f[B]-modkey\f[].
.TP
.B Mod-Button1
(Mouse!) Move a window.
.RS
.RE
.TP
.B Mod-Button3
(Mouse!) Resize a window.
.RS
.RE
.TP
.B Mod-[F1-F9]
Set the current tag and raise all its windows.
A window may be in multiple tags.
For EWMH panel and pager integration tags roughly simulate desktops
(always 9), but there will be differences in behavior.
.RS
.RE
.TP
.B Mod-Shift-[F1-F9]
Toggle active window\[aq]s tags without switching current tag.
.RS
.RE
.TP
.B Mod-[1-9]
Do a case-insensitive keyword search for window by WM_CLASS and title.
If found, raise and focus.
If not found, try to execute the keyword and start the app.
See \f[B]-1\f[] through \f[B]-9\f[] args.
.RS
.RE
.TP
.B Mod-Shift-[1-9]
Force execution of keyword used in \f[B]Mod-[1-9]\f[] even if a copy of
the window already exists.
.RS
.RE
.TP
.B Mod-Tab
Switch between all windows by popup menu.
This is partly based on \f[B]dmenu\f[] but more tightly integrated with
the window manager and centered on screen.
Type text to filter the menu entries.
Navigate with the arrow keys.
Return to select.
.RS
.RE
.TP
.B Mod-` (Grave/Backtick)
Switch between all windows in current tag by popup menu.
.RS
.RE
.TP
.B Mod-c
Cycle through windows in the same tag and position as the active window.
.RS
.RE
.TP
.B Mod-Escape
Close the active window.
.RS
.RE
.TP
.B Mod-PageUp
Grow the active window through four basic sizes that tile well together:
1/9th, 1/4th, 4/9th, or fullscreen.
.RS
.RE
.TP
.B Mod-PageDown
Shrink the active window through the same four sizes.
.RS
.RE
.TP
.B Mod-Shift-PageUp
Increase size of the active window.
.RS
.RE
.TP
.B Mod-Shift-PageDown
Decrease size of the active window.
.RS
.RE
.TP
.B Mod-h
Horizontally tile the active window and others with the same tag,
position, and size.
.RS
.RE
.TP
.B Mod-v
Vertically tile the active window and others with the same tag,
position, and size.
.RS
.RE
.TP
.B Mod-Shift-h
Opposite of Mod-h.
Horizontally un-tile.
.RS
.RE
.TP
.B Mod-Shift-v
Opposite of Mod-v.
Vertically un-tile.
.RS
.RE
.TP
.B Mod-x
Run the launcher (by default: dmenu_run).
.RS
.RE
.TP
.B Mod-a
Toggle _NET_WM_STATE_ABOVE for the active window.
Corners will flash to acknowledge.
.RS
.RE
.TP
.B Mod-b
Toggle _NET_WM_STATE_BELOW for the active window.
Corners will flash to acknowledge.
.RS
.RE
.TP
.B Mod-f
Toggle _NET_WM_STATE_FULLSCREEN for the active window.
Corners will flash to acknowledge.
.RS
.RE
.TP
.B Mod-d
Resize active window to match the window immediately underneath, in the
same tag.
.RS
.RE
.TP
.B Mod-Home
Toggle _NET_WM_STATE_MAXIMIXED_HORZ for the active window.
Corners will flash to acknowledge.
.RS
.RE
.TP
.B Mod-End
Toggle _NET_WM_STATE_MAXIMIXED_VERT for the active window.
Corners will flash to acknowledge.
.RS
.RE
.TP
.B Mod-Return
Expand active window to fill surrounding space without obscuring any
fully visible window.
.RS
.RE
.TP
.B Mod-Backspace
Contract active window to fill an underlying space without obscuring
window that would then be fully visible.
.RS
.RE
.TP
.B Mod-Insert
Toggle vertical move/resize lock for the active window.
.RS
.RE
.TP
.B Mod-Delete
Toggle horizontal move/resize lock for the active window.
.RS
.RE
.TP
.B Mod-Left
Move the active window left within a 3x3 grid.
.RS
.RE
.TP
.B Mod-Right
Move the active window right within a 3x3 grid.
.RS
.RE
.TP
.B Mod-Up
Move the active window up within a 3x3 grid.
.RS
.RE
.TP
.B Mod-Down
Move the active window down within a 3x3 grid.
.RS
.RE
.TP
.B Mod-Shift-Left (Left/Right/Up/Down)
Snap the active window to the nearest border, by direction.
.RS
.RE
.TP
.B Mod-u
Undo the last size/position change for the active window.
Undo is 10 levels deep.
.RS
.RE
.TP
.B Mod-i
Switch focus upward from the active window.
.RS
.RE
.TP
.B Mod-j
Switch focus to the left of the active window.
.RS
.RE
.TP
.B Mod-k
Switch focus downward from the active window.
.RS
.RE
.TP
.B Mod-l
Switch focus to the right of the active window.
.RS
.RE
.TP
.B Mod-Shift-i (i/j/k/l)
Swap the active window position with another window by direction.
.RS
.RE
.TP
.B Mod-t
Toggle the active window\[aq]s membership of the current tag.
.RS
.RE
.TP
.B Mod-m
Cycle tag forward.
.RS
.RE
.TP
.B Mod-n
Cycle tag backward.
.RS
.RE
.TP
.B Mod-w
Display active window title.
.RS
.RE
.TP
.B Mod-, (comma)
Reapply active window rule.
.RS
.RE
.TP
.B Mod-. (period)
Switch between defined rule sets.
.RS
.RE
.TP
.B Mod-/ (slash)
Minimize a window.
.RS
.RE
.TP
.B Mod-[ (left square brancket)
Move and resize a window to cover the left 2/3 of a monitor.
.RS
.RE
.TP
.B Mod-] (right square brancket)
Move and resize a window to cover the right 2/3 of a monitor.
.RS
.RE
.TP
.B Mod-o
Show only windows in the current tag.
Hide everything else.
.RS
.RE
.TP
.B Mod-Pause (press twice)
Quit goomwwm.
.RS
.RE
.SH OPTIONS
.PP
All key combinations use the same global modifier key by default, which
is \f[B]Mod4\f[] (usually Win/Meta).
If the default modifier is changed with \f[B]-modkey\f[] then all key
combinations that do not specify their own custom modifiers will change
to use the new modifier automatically.
.PP
All options below that set a custom key therefore implicitly combine it
with the default modifier key.
For example, the following both mean \f[B]Mod4-a\f[]:
.IP
.nf
\f[C]
goomwwm\ -above\ a
goomwwm\ -above\ mod4-a
\f[]
.fi
.PP
Any combiation of \f[B]shift\f[], \f[B]control\f[], \f[B]mod1\f[]
(usually Alt), \f[B]mod2\f[], \f[B]mod3\f[], \f[B]mod4\f[] (usually
Win/Meta), \f[B]mod5\f[] (sometimes AltGr) may be supplied for any key
combination:
.IP
.nf
\f[C]
goomwwm\ -above\ control-shift-a
\f[]
.fi
.PP
To explicitly bind a key without any modifier, not even the default, use
\f[B]nomod\f[]:
.IP
.nf
\f[C]
goomwwm\ -above\ nomod-f12
\f[]
.fi
.PP
Note that this would capture F12 globally, making it unusable for
anything else.
Use \f[I]nomod\f[] with care.
.TP
.B -1 -2 -3 -4 -5 -6 -7 -8 -9
Set a number key to a keyword to search for a window by WM_CLASS,
application name, or title, and then raise and focus it.
If a window is not found, the string supplied will be executed as a
shell command to start the application.
.RS
.PP
goomwwm -1 chromium -2 firefox -3 xterm
.PP
Above, Mod-1 would match the top-most Chromium window.
.PP
Many applications politely set their WM_CLASS to a sane value (eg,
Chromium uses Chromium, xterm uses XTerm) or append their name to their
window titles, which nicely matches their binary names if we use
case-insensitive string comparison.
This allows us to use the one string to both search and start.
.PP
Applications that are not so friendly can sometimes be wrapped in a
shell script of the appropriate name in your $PATH somewhere.
.PP
Sometimes it can be useful to limit the match to WM_CLASS or name (eg,
when a browser window title includes another app\[aq]s name causing a
false positive).
Simply use \f[B]class:\f[] or \f[B]name:\f[] prefixes:
.PP
goomwwm -1 class:chromium
.RE
.TP
.B -above
Set an X11 key name to toggle _NET_WM_STATE_ABOVE for the active window
(default: XK_a).
.RS
.PP
goomwwm -above a
.RE
.TP
.B -appkeys
Specify the keys to use for app search-or-launch as set by \f[B]-1\f[]
through \f[B]-9\f[] (default: numbers).
.RS
.PP
Valid settings are:
.TP
.B numbers
Use the number keys 1-9
.RS
.RE
.TP
.B functions
Use the function keys F1-F9
.RS
.RE
.PP
If function keys are used for app launchers the number keys will be used
to swap tags, and vice versa.
.RE
.TP
.B -attention
Set the border color (X11 named color or hex #rrggbb) for an inactive
window with _NET_WM_STATE_DEMANDS_ATTENTION (default: Red).
.RS
.PP
goomwwm -attention Red
.RE
.TP
.B -auto
Search for an app at startup and autostart it if not found.
Uses the same WM_CLASS/name/title matching rules as the -1 through -9
arguments (default: none).
.RS
.PP
goomwwm -auto chromium
.PP
Above, chromium will only be started if a chromium window does not
already exist.
.RE
.TP
.B -below
Set an X11 key name to toggle _NET_WM_STATE_BELOW for the active window
(default: XK_b).
.RS
.PP
goomwwm -below b
.RE
.TP
.B -blur
Set the border color (X11 named color or hex #rrggbb) for unfocused
windows (default: Dark Gray).
.RS
.PP
goomwwm -blur "Dark Gray"
.RE
.TP
.B -border
Set the border width in pixels for all managed windows (default: 2).
.RS
.PP
goomwwm -border 2
.RE
.TP
.B -close
Set an X11 key name to gracefully close the active window (default:
XK_Escape).
.RS
.PP
goomwwm -close Escape
.RE
.TP
.B -config
Parse extra options from a text file.
.RS
.PP
goomwwm -config /path/to/config.txt
.PP
The file format is any command line options without the leading hyphen.
Comments and blank lines are acceptable.
.IP
.nf
\f[C]
#\ a\ comment
2\ chromium
2\ konsole
close\ Escape
menufont\ mono-14
\f[]
.fi
.PP
If it exists, \f[B]$HOME/.goomwwmrc\f[] is automatically parsed.
.RE
.TP
.B -cycle
Set an X11 key name to cycle windows in the same tag and position as the
active window (default: XK_c).
.RS
.PP
goomwwm -cycle c
.RE
.TP
.B -contract
Set an X11 key name to contract the active window to fill an underlying
space without obscuring any other window in the current tag that would
then be fully visible (default: XK_Contract).
Opposite of -expand.
.RS
.PP
goomwwm -contract BackSpace
.RE
.TP
.B -decrease
Set an X11 key to decrementally resize the active window (default:
shift+page_up).
.RS
.PP
goomwwm -decrease shift+page_down
.RE
.TP
.B -down
Set an X11 key name to move the active window downward in a 3x3 grid
(default: XK_Down).
.RS
.PP
goomwwm -down Down
.RE
.TP
.B -duplicate
Set an X11 key name to resize the active window to match the window
immediately underneath, in the same tag (default: XK_d).
.RS
.PP
goomwwm -duplicate d
.RE
.TP
.B -exec
Execute a command at startup but only after goomwwm has started
successfully (default: none).
Useful for pre-lanching apps, but also see \f[B]-auto\f[].
.RS
.PP
goomwwm -exec firefox
.RE
.TP
.B -expand
Set an X11 key name to expand the active window to fill adjacent space
without obscuring any other fully visible window in the current tag
(default: XK_Return).
Opposite of -contract.
.RS
.PP
goomwwm -expand Return
.RE
.TP
.B -largeleft
Set an X11 key to move and resize the active window to cover the left
2/3 of a monitor (default: XK_bracketleft).
.RS
.PP
goomwwm -largeleft bracketleft
.RE
.TP
.B -largeright
Set an X11 key to move and resize the active window to cover the right
2/3 of a monitor (default: XK_bracketright).
.RS
.PP
goomwwm -largeleft bracketleft
.RE
.TP
.B -launch
Set an X11 key to run the application launcher (default: XK_x).
.RS
.PP
goomwwm -launch x
.RE
.TP
.B -launcher
Set a custom application launcher to execute on \f[B]Mod-x\f[] (default:
dmenu_run).
.RS
.PP
goomwwm -launcher dmenu_run
.RE
.TP
.B -flashms
Set the duration in milliseconds of the window flash indicators
(default: 500).
.RS
.PP
goomwwm -flashms 500
.RE
.TP
.B -flashon
Set the color (X11 named color or hex #rrggbb) of the flash indicator
when toggling \f[I]NET_WM_STATE\f[]* on (default: Dark Green).
.RS
.PP
goomwwm -flashon "Dark Green"
.RE
.TP
.B -flashoff
Set the color (X11 named color or hex #rrggbb) of the flash indicator
when toggling \f[I]NET_WM_STATE\f[]* off (default: Dark Red).
.RS
.PP
goomwwm -flashon "Dark Red"
.RE
.TP
.B -flashpx
Set the size in pixels of window flash indicators (currently a colored
square in each window corner) (default: 10).
.RS
.PP
goomwwm -flashpx 10
.RE
.TP
.B -flashtitle
Wether to flash a window\[aq]s title when changing focus or other modes
(default: hide).
Regardless of this setting, \f[B]Mod-w\f[] always displays a
window\[aq]s title.
.RS
.PP
goomwwm -flashtitle hide
.PP
Valid modes:
.TP
.B show
Flash title bar centered on the window.
.RS
.RE
.TP
.B hide
Do no flash title bar.
.RS
.RE
.RE
.TP
.B -focus
Set the border color (X11 named color or hex #rrggbb) for the focused
window (default: Royal Blue).
.RS
.PP
goomwwm -focus "Royal Blue"
.RE
.TP
.B -focusdown
Set an X11 key name to switch focus downward from the active window
within the current tag (default: XK_k).
.RS
.PP
goomwwm -focusdown k
.RE
.TP
.B -focusleft
Set an X11 key name to switch focus to left of the active window within
the current tag (default: XK_j).
.RS
.PP
goomwwm -focusleft j
.RE
.TP
.B -focusmode
Control the window focus mode (default: click).
.RS
.PP
goomwwm -focusmode click
.PP
Valid settings are:
.TP
.B click
focus on mouse click.
.RS
.RE
.TP
.B sloppy
focus follows mouse
.RS
.RE
.TP
.B sloppytag
focus follows mouse within current tag.
.RS
.RE
.RE
.TP
.B -focusright
Set an X11 key name to switch focus to right of the active window within
the current tag (default: XK_l).
.RS
.PP
goomwwm -focusright l
.RE
.TP
.B -focusup
Set an X11 key name to switch focus upward form the active window within
the current tag (default: XK_i).
.RS
.PP
goomwwm -focusup i
.RE
.TP
.B -fullscreen
Set an X11 key name to toggle _NET_WM_STATE_FULLSCREEN for the active
window (default: XK_f).
.RS
.PP
goomwwm -fullscreen f
.RE
.TP
.B -grow
Set an X11 key name to increase the active window size (default:
XK_Page_Up) through four basic sizes that tile well together: 1/9th,
1/4th, 4/9th, or fullscreen.
.RS
.PP
goomwwm -grow Page_Up
.RE
.TP
.B -hlock
Set an X11 key name to toggle horizontal move/resize lock for the active
window (default: XK_Delete).
.RS
.PP
goomwwm -hlock Delete
.RE
.TP
.B -hmax
Set an X11 key name to toggle _NET_WM_STATE_MAXIMIXED_HORZ for the
active window (default: XK_End).
.RS
.PP
goomwwm -hmax End
.RE
.TP
.B -htile
Set an X11 key to horizontally tile the active window and others with
the same tag, position, and size (default: XK_h).
.RS
.PP
goomwwm -htile h
.RE
.TP
.B -huntile
Set an X11 key to do the opposite of -htile.
.RS
.PP
goomwwm -huntile h
.RE
.TP
.B -info
Set an X11 key to briefly display the active window\[aq]s title
(default: XK_w).
.RS
.PP
goomwwm -info w
.RE
.TP
.B -increase
Set an X11 key to incrementally resize the active window (default:
shift+page_up).
.RS
.PP
goomwwm -increase shift+page_up
.RE
.TP
.B -left
Set an X11 key name to move the active window to the left in a 3x3 grid
(default: XK_Left).
.RS
.PP
goomwwm -left Left
.RE
.TP
.B -mapmode
Control the window initial map focus mode (default: steal).
.RS
.PP
goomwwm -mapmode steal
.PP
Valid settings are:
.TP
.B steal
new windows get focus.
.RS
.RE
.TP
.B block
new windows do not get focus.
.RS
.RE
.RE
.TP
.B -menubc
Set the border color (X11 named color or hex #rrggbb) for the
window-switcher menu (default: #c0c0c0).
.RS
.PP
goomwwm -menubc "#c0c0c0"
.RE
.TP
.B -menubg
Set the background text color (X11 named color or hex #rrggbb) for the
window-switcher menu (default: #f2f1f0).
.RS
.PP
goomwwm -menubg "#f2f1f0"
.RE
.TP
.B -menubgalt
Set the alternate background text color (X11 named color or hex #rrggbb)
for the window-switcher menu (default: #e9e8e7).
.RS
.PP
goomwwm -menubgalt "#e9e8e7"
.RE
.TP
.B -menufg
Set the foreground text color (X11 named color or hex #rrggbb) for the
window-switcher menu (default: #222222).
.RS
.PP
goomwwm -menufg "#222222"
.RE
.TP
.B -menufont
Xft font name for use by the window-switcher menu (default: mono-14).
.RS
.PP
goomwwm -menufont monospace-14:medium
.RE
.TP
.B -menuhlbg
Set the background text color (X11 named color or hex #rrggbb) for the
highlighted item in the window-switcher menu (default: #005577).
.RS
.PP
goomwwm -menufg "#005577"
.RE
.TP
.B -menuhlfg
Set the foreground text color (X11 named color or hex #rrggbb) for the
highlighted item in the window-switcher menu (default: #ffffff).
.RS
.PP
goomwwm -menufg "#ffffff"
.RE
.TP
.B -menulines
Maximum number of entries the window-switcher menu may show before
scrolling (default: 25).
.RS
.PP
goomwwm -menulines 25
.RE
.TP
.B -menuselect
Control how menu items are selected (default: return).
.RS
.PP
goomwwm -menuselect return
.PP
Valid settings are:
.TP
.B return
Menu stays open until item is selected with Enter/Return key.
This is dmenu-like.
.RS
.RE
.TP
.B modkeyup
Menu stays open until item is selected by releasing the modkey.
This is classic Alt-Tab window switching behavior.
.RS
.RE
.RE
.TP
.B -menuwidth
Set the width of the window-switcher menu as a percentage of the screen
width if <= 100 (% symbol optional), or in pixels if >100 (default:
60%).
.RS
.PP
goomwwm -menuwidth 60% goomwwm -menuwidth 800
.RE
.TP
.B -minimize
Set an X11 key name to minimize a window (default: XK_slash).
.RS
.PP
goomwwm -minimize slash
.RE
.TP
.B -modkey
Change the modifier key mask to any combination of:
control,mod1,mod2,mod3,mod4,mod5 (default: mod4).
.RS
.PP
goomwwm -modkey control,mod1
.RE
.TP
.B -only
Set an X11 key name to show only windows in the current tag, hiding
everything else (default: XK_o).
.RS
.PP
goomwwm -only o
.RE
.TP
.B -onlyauto
Make \f[B]-only\f[] behavior automatic after current tag switch.
Note that while this setting makes tags behave pretty much like virtual
desktops, it also reduces flexibility.
.RS
.PP
goomwwm -onlyauto
.RE
.TP
.B -placement
Control the position of new windows (default: any).
.RS
.PP
goomwwm -placement any
.PP
Valid settings are:
.TP
.B any
Windows that specify or remember their placement are honored.
Everything else is centered on the current monitor.
.RS
.RE
.TP
.B center
Windows are centered on the current monitor.
.RS
.RE
.TP
.B pointer
Windows are centered under the mouse pointer.
.RS
.RE
.RE
.TP
.B -prefix
Set an X11 key name to act as a modal key combination that replaces the
default modifier key for all other combinations (default: none).
This is similar to the way key combinations work in \f[B]ratpoison\f[]
and GNU \f[B]screen\f[].
.RS
.PP
goomwwm -prefix z
.PP
Above, \f[B]Mod-z\f[] would now need to preceed all other keys.
For example, cycling windows would become preass and relases
\f[B]Mod-z\f[] then press \f[B]c\f[].
.PP
Of course, \f[B]-prefix\f[] can also be combined with \f[B]-modkey\f[]:
.PP
goomwwm -modkey control -prefix z
.PP
Cycling windows would then become \f[B]Control-z\f[] then \f[B]c\f[].
.PP
Finally, if you press the prefix key combination by mistake, press the
prefix key again to cancel.
.RE
.TP
.B -quit
Set an X11 key name to exit the window manager (default: XK_Pause).
This key must be \f[B]pressed twice\f[] to take effect!
.RS
.PP
goomwwm -quit Pause
.RE
.TP
.B -raisemode
Control the window raise mode (default: focus).
.RS
.PP
goomwwm -raisemode focus
.PP
Valid settings are:
.TP
.B focus
Window is raised on focus (default for -focusmode click).
.RS
.RE
.TP
.B click
Window is raised on Mod-AnyButton click (default for -focusmode
sloppy[tag]).
.RS
.RE
.RE
.TP
.B -resizehints