forked from conformal/spectrwm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspectrwm.html
1565 lines (1562 loc) · 78.4 KB
/
spectrwm.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<style>
table.head, table.foot { width: 100%; }
td.head-rtitle, td.foot-os { text-align: right; }
td.head-vol { text-align: center; }
table.foot td { width: 50%; }
table.head td { width: 33%; }
div.spacer { margin: 1em 0; }
</style>
<title>
SPECTRWM(1)</title>
</head>
<body>
<div class="mandoc">
<table class="head">
<tbody>
<tr>
<td class="head-ltitle">
SPECTRWM(1)</td>
<td class="head-vol">
General Commands Manual</td>
<td class="head-rtitle">
SPECTRWM(1)</td>
</tr>
</tbody>
</table>
<div class="section">
<h1 id="NAME">NAME</h1> <b class="name">spectrwm</b> — <span class="desc">window manager for X11</span></div>
<div class="section">
<h1 id="SYNOPSIS">SYNOPSIS</h1><table class="synopsis">
<col style="width: 8.00ex;"/>
<col/>
<tbody>
<tr>
<td>
<b class="name">spectrwm</b></td>
<td>
</td>
</tr>
</tbody>
</table>
</div>
<div class="section">
<h1 id="DESCRIPTION">DESCRIPTION</h1> <b class="name">spectrwm</b> is a minimalistic window manager that tries to stay out of the way so that valuable screen real estate can be used for much more important stuff. It has sane defaults and does not require one to learn a language to do any configuration. It was written by hackers for hackers and it strives to be small, compact and fast.<div class="spacer">
</div>
When <b class="name">spectrwm</b> starts up, it reads settings from its configuration file, <i class="file">spectrwm.conf</i>. See the <i class="link-sec"><a class="link-sec" href="#CONFIGURATION_FILES">CONFIGURATION FILES</a></i> section below.<div class="spacer">
</div>
The following notation is used throughout this page:<div class="spacer">
</div>
<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M</b></dt>
<dd class="list-tag" style="margin-left: 6.00ex;">
Meta</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">S</b></dt>
<dd class="list-tag" style="margin-left: 6.00ex;">
Shift</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<b class="flag">Name</b>⟩</dt>
<dd class="list-tag" style="margin-left: 6.00ex;">
Named key or button</dd>
</dl>
<div class="spacer">
</div>
<b class="name">spectrwm</b> is very simple in its use. Most of the actions are initiated via key or pointer bindings. See the <i class="link-sec"><a class="link-sec" href="#BINDINGS">BINDINGS</a></i> section below for defaults and customizations.</div>
<div class="section">
<h1 id="CONFIGURATION_FILES">CONFIGURATION FILES</h1> <b class="name">spectrwm</b> first tries to open the user specific file, <i class="file">~/.spectrwm.conf</i>. If that file is unavailable, it then tries to open the global configuration file <i class="file">/etc/spectrwm.conf</i>.<div class="spacer">
</div>
The format of the file is<div class="spacer">
</div>
<blockquote style="margin-top: 0.00em;margin-bottom: 0.00em;">
<div class="display">
<code class="lit"><i class="arg">keyword</i> <code class="lit">=</code> <i class="arg">setting</i></code></div>
</blockquote>
<div class="spacer">
</div>
For example:<div class="spacer">
</div>
<blockquote style="margin-top: 0.00em;margin-bottom: 0.00em;">
<div class="display">
<code class="lit">color_focus = red</code></div>
</blockquote>
<div class="spacer">
</div>
Enabling or disabling an option is done by using 1 or 0 respectively.<div class="spacer">
</div>
Colors need to be specified per the <a class="link-man">XQueryColor(3)</a> specification.<div class="spacer">
</div>
Comments begin with a #. When a literal ‘<code class="lit">#</code>’ is desired in an option, then it must be escaped with a backslash, i.e. \#<div class="spacer">
</div>
The file supports the following keywords:<dl style="margin-top: 0.00em;margin-bottom: 0.00em;" class="list list-tag">
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">autorun</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Launch an application in a specified workspace at start-of-day. Defined in the format <code class="lit">ws</code>[<i class="arg">idx</i>]:<i class="arg">application</i>, e.g. ws[2]:xterm launches an <a class="link-man">xterm(1)</a> in workspace 2.<div class="spacer">
</div>
Note that workspace mapping is handled via <i class="file">libswmhack.so</i>. When <b class="cmd">autorun</b> spawns windows via a daemon, ensure the daemon is started with the correct <i class="file">LD_PRELOAD</i> in its environment.<div class="spacer">
</div>
For example, starting <a class="link-man">urxvtd(1)</a> via <a class="link-man">xinit(1)</a>:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
LD_PRELOAD=/usr/lib/libswmhack.so.0.0 urxvtd -q -o -f</pre>
<div class="spacer">
</div>
Spawned programs automatically have <i class="file">LD_PRELOAD</i> set when executed.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_action</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
External script that populates additional information in the status bar, such as battery life.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_at_bottom</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Place the statusbar at the bottom of each region instead of the top.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_border</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of the status bar(s) in screen <i class="arg">x</i>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_border_unfocus</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of the status bar(s) on unfocused region(s) in screen <i class="arg">x</i>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_border_width</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set status bar border thickness in pixels. Disable border by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_color</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Background color of the status bar(s) in screen <i class="arg">x</i>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set default <b class="cmd">bar_toggle</b> state; default is 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_enabled_ws</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set default <b class="cmd">bar_toggle_ws</b> state on workspace <i class="arg">x</i>; default is 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_font</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Font used in the status bar. Either Xft or X Logical Font Description (XLFD) may be used to specify fonts. Fallback fonts may be specified by separating each font with a comma. If all entries are in XLFD syntax, font set will be used. If at least one entry is Xft, Xft will be used. Note that if Xft is in use, only the first font that successfully loads will be used regardless of missing glyphs. The default is to use font set. Also note that <a class="link-man">dmenu(1)</a> does not support Xft fonts.<div class="spacer">
</div>
Xft examples:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
bar_font = Terminus:style=Regular:pixelsize=14:antialias=true
bar_font = -*-profont-medium-*-*-*-11-*-*-*-*-*-*-*,Terminus:pixelsize=14,-*-clean-medium-*-*-*-12-*-*-*-*-*-*-*</pre>
<div class="spacer">
</div>
Font set examples:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
bar_font = -*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*
bar_font = -*-profont-medium-*-*-*-11-*-*-*-*-*-*-*,-*-terminus-medium-*-*-*-14-*-*-*-*-*-*-*,-*-clean-medium-*-*-*-12-*-*-*-*-*-*-*</pre>
<div class="spacer">
</div>
To list the available fonts in your system see <a class="link-man">fc-list(1)</a> or <a class="link-man">xlsfonts(1)</a> manpages. The <a class="link-man">xfontsel(1)</a> application can help with the XLFD setting.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_font_color</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Color of the font in status bar in screen <i class="arg">x</i>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_format</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set the bar format string, overriding <b class="cmd">clock_format</b> and all of the <b class="cmd">enabled</b> options. The format is passed through <a class="link-man">strftime(3)</a> before being used. It may contain the following character sequences:<table style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-col">
<col style="width: 18.00ex;"/>
<col style="min-width: 13.00ex;"/>
<tbody>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<span class="symb">Character sequence</span></td>
<td class="list-col" style="margin-top: 1.00em;">
<span class="symb">Replaced with</span></td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+<</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Pad with a space</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+A</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Output of the external script</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+C</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Window class (from WM_CLASS)</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+D</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Workspace name</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+F</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Floating indicator</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+I</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Workspace index</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+M</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Number of iconic (minimized) windows in workspace</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+N</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Screen number</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+P</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Window class and instance separated by a colon</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+S</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Stacking algorithm</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+T</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Window instance (from WM_CLASS)</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+U</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Urgency hint</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+V</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Program version</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">+W</code></td>
<td class="list-col" style="margin-top: 1.00em;">
Window name (from _NET_WM_NAME/WM_NAME)</td>
</tr>
<tr class="list-col">
<td class="list-col" style="margin-top: 1.00em;">
<code class="lit">++</code></td>
<td class="list-col" style="margin-top: 1.00em;">
A literal ‘<code class="lit">+</code>’</td>
</tr>
</tbody>
</table>
<div class="spacer">
</div>
All character sequences may limit its output to a specific length, for example +64A. Any characters that don't match the specification are copied as-is.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bar_justify</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Justify the status bar text. Possible values are <i class="arg">left</i>, <i class="arg">center</i>, and <i class="arg">right</i>.<div class="spacer">
</div>
Note that if the output is not left justified, it may not be properly aligned in some circumstances, due to the white-spaces in the default static format. See the <b class="cmd">bar_format</b> option for more details.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">bind</b>[<i class="arg">x</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Bind key or button combo to action <i class="arg">x</i>. See the <i class="link-sec"><a class="link-sec" href="#BINDINGS">BINDINGS</a></i> section below.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">border_width</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set window border thickness in pixels. Disable all borders by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">boundary_width</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set region containment boundary width in pixels. This is how far a window must be dragged/resized (with the pointer) beyond the region edge before it is allowed outside the region. Disable the window containment effect by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">clock_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the clock in the status bar. Disable by setting to 0 so a custom clock could be used in the <b class="cmd">bar_action</b> script.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">iconic_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Display the number of iconic (minimized) windows in the status bar. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">color_focus</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of the currently focused window. Default is red.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">color_focus_maximized</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of the currently focused, maximized window. Defaults to the value of <b class="cmd">color_focus</b>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">color_unfocus</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of unfocused windows, default is rgb:88/88/88.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">color_unfocus_maximized</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Border color of unfocused, maximized windows. Defaults to the value of <b class="cmd">color_unfocus</b>.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">dialog_ratio</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Some applications have dialogue windows that are too small to be useful. This ratio is the screen size to what they will be resized. For example, 0.6 is 60% of the physical screen size.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">disable_border</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Remove border when bar is disabled and there is only one window on the region.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">focus_close</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Window to put focus when the focused window is closed. Possible values are <i class="arg">first</i>, <i class="arg">next</i>, <i class="arg">previous</i> (default) and <i class="arg">last</i>. <i class="arg">next</i> and <i class="arg">previous</i> are relative to the window that is closed.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">focus_close_wrap</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Whether to allow the focus to jump to the last window when the first window is closed or vice versa. Disable by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">focus_default</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Window to put focus when no window has been focused. Possible values are <i class="arg">first</i> and <i class="arg">last</i> (default).</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">focus_mode</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Window focus behavior with respect to the pointer. Possible values:<div class="spacer">
</div>
<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<i class="arg">default</i></dt>
<dd class="list-tag" style="margin-left: 7.00ex;">
Set window focus on border crossings caused by cursor motion and window interaction.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<i class="arg">follow</i></dt>
<dd class="list-tag" style="margin-left: 7.00ex;">
Set window focus on all cursor border crossings, including workspace switches and changes to layout.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<i class="arg">manual</i></dt>
<dd class="list-tag" style="margin-left: 7.00ex;">
Set window focus on window interaction only.</dd>
</dl>
</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">maximize_hide_bar</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
When set to 1, <b class="cmd">maximize_toggle</b> will also hide/restore the bar visibility of the affected workspace. Defaults to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">java_workaround</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Workaround a Java GUI rendering issue on non-reparenting window managers by impersonating the LG3D window manager, written by Sun. Default is 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">keyboard_mapping</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Clear all key bindings (not button bindings) and load new bindings from the specified file. This allows you to load pre-defined key bindings for your keyboard layout. See the <i class="link-sec"><a class="link-sec" href="#KEYBOARD_MAPPING_FILES">KEYBOARD MAPPING FILES</a></i> section below for a list of keyboard mapping files that have been provided for several keyboard layouts.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">layout</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Select layout to use at start-of-day. Defined in the format <code class="lit">ws</code>[<i class="arg">idx</i>]:<i class="arg">master_grow</i>:<i class="arg">master_add</i>:<i class="arg">stack_inc</i>:<i class="arg">always_raise</i>:<i class="arg">stack_mode</i>, e.g. ws[2]:-4:0:1:0:horizontal sets worskspace 2 to the horizontal stack mode, shrinks the master area by 4 ticks and adds one window to the stack, while maintaining default floating window behavior. Possible <i class="arg">stack_mode</i> values are <i class="arg">vertical</i>, <i class="arg">vertical_flip</i>, <i class="arg">horizontal</i>, <i class="arg">horizontal_flip</i> and <i class="arg">fullscreen</i>.<div class="spacer">
</div>
See <b class="cmd">master_grow</b>, <b class="cmd">master_shrink</b>, <b class="cmd">master_add</b>, <b class="cmd">master_del</b>, <b class="cmd">stack_inc</b>, <b class="cmd">stack_dec</b>, <b class="cmd">stack_balance</b>, and <b class="cmd">always_raise</b> for more information. Note that the stacking options are complicated and have side-effects. One should familiarize oneself with these commands before experimenting with the <b class="cmd">layout</b> option.<div class="spacer">
</div>
This setting is not retained at restart.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">modkey</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Change mod key. Mod1 is generally the ALT key and Mod4 is the windows key on a PC.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">name</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set the name of a workspace at start-of-day. Defined in the format <code class="lit">ws</code>[<i class="arg">idx</i>]:<i class="arg">name</i>, e.g. ws[1]:Console sets the name of workspace 1 to “Console”.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">program</b>[<i class="arg">p</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Define new action to spawn a program <i class="arg">p</i>. See the <i class="link-sec"><a class="link-sec" href="#PROGRAMS">PROGRAMS</a></i> section below.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">quirk</b>[<i class="arg">c</i>:<i class="arg">i</i>:<i class="arg">n</i>]</dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Add "quirk" for windows with class <i class="arg">c</i>, instance <i class="arg">i</i> and name <i class="arg">n</i>. See the <i class="link-sec"><a class="link-sec" href="#QUIRKS">QUIRKS</a></i> section below.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">region</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Allocates a custom region, removing any autodetected regions which occupy the same space on the screen. Defined in the format <code class="lit">screen</code>[<i class="arg">idx</i>]:<i class="arg">width</i>x<i class="arg">height</i>+<i class="arg">x</i>+<i class="arg">y</i>, e.g. screen[1]:800x1200+0+0.<div class="spacer">
</div>
To make a region span multiple monitors, create a region big enough to cover them all, e.g. screen[1]:2048x768+0+0 makes the region span two monitors with 1024x768 resolution sitting one next to the other.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">region_padding</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Pixel width of empty space within region borders. Disable by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">spawn_position</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Position in stack to place newly spawned windows. Possible values are <i class="arg">first</i>, <i class="arg">next</i>, <i class="arg">previous</i> and <i class="arg">last</i> (default). <i class="arg">next</i> and <i class="arg">previous</i> are relative to the focused window.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">stack_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the current stacking algorithm in the status bar.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">term_width</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set a preferred minimum width for the terminal. If this value is greater than 0, <b class="name">spectrwm</b> will attempt to adjust the font sizes in the terminal to keep the terminal width above this number as the window is resized. Only <a class="link-man">xterm(1)</a> is currently supported. The <a class="link-man">xterm(1)</a> binary must not be setuid or setgid, which it is by default on most systems. Users may need to set program[term] (see the <i class="link-sec"><a class="link-sec" href="#PROGRAMS">PROGRAMS</a></i> section) to use an alternate copy of the <a class="link-man">xterm(1)</a> binary without the setgid bit set.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">tile_gap</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Pixel width of empty space between tiled windows. Negative values cause overlap. Set this to the opposite of <b class="cmd">border_width</b> to collapse the border between tiles. Disable by setting to 0.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">urgent_collapse</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Minimizes the space consumed by the urgency hint indicator by removing the placeholders for non-urgent workspaces, the trailing space when there are urgent windows and the default leading space. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">urgent_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable the urgency hint indicator in the status bar. Note that many terminal emulators require an explicit setting for the bell character to trigger urgency on the window. In <a class="link-man">xterm(1)</a>, for example, one needs to add the following line to <i class="file">.Xdefaults</i>:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
xterm.bellIsUrgent: true</pre>
</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">verbose_layout</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the current master window count and stack column/row count in the status bar. Enable by setting to 1. See <i class="arg">master_add</i>, <i class="arg">master_del</i>, <i class="arg">stack_inc</i> and <i class="arg">stack_dec</i> for more information.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">workspace_clamp</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Prevents workspaces from being swapped when attempting to switch to a workspace that is mapped to another region. Use <i class="arg">warp_focus</i> if you want to focus on the region containing the workspace and <i class="arg">warp_pointer</i> if you want to also send the pointer. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">window_class_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the window class name (from WM_CLASS) in the status bar. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">window_instance_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the window instance name (from WM_CLASS) in the status bar. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">window_name_enabled</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Enable or disable displaying the window display name (from _NET_WM_NAME/WM_NAME) in the status bar. Enable by setting to 1.<div class="spacer">
</div>
To prevent excessively large window names from pushing the remaining text off the bar, it's limited to 64 characters, by default. See the <b class="cmd">bar_format</b> option for more details.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">warp_focus</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Focus on the target window/workspace/region when clamped. For example, when attempting to switch to a workspace that is mapped on another region and <i class="arg">workspace_clamp</i> is enabled, focus on the region with the target workspace. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">warp_pointer</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Centers the pointer on the focused window when using bindings to change focus, switch workspaces, change regions, etc. Enable by setting to 1.</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="cmd">workspace_limit</b></dt>
<dd class="list-tag" style="margin-left: 2.00em;">
Set the total number of workspaces available. Minimum is 1, maximum is 22, default is 10.</dd>
</dl>
</div>
<div class="section">
<h1 id="PROGRAMS">PROGRAMS</h1> <b class="name">spectrwm</b> allows you to define custom actions to launch programs of your choice and then bind them the same as with built-in actions. See the <i class="link-sec"><a class="link-sec" href="#BINDINGS">BINDINGS</a></i> section below.<div class="spacer">
</div>
Custom programs in the configuration file are specified as follows:<div class="spacer">
</div>
<blockquote style="margin-top: 0.00em;margin-bottom: 0.00em;">
<div class="display">
<code class="lit">program[<i class="arg">action</i>] = <i class="arg">progpath</i> [<span class="opt"><i class="arg">arg</i> [<span class="opt"><i class="arg">arg ...</i></span>]</span>]</code></div>
</blockquote>
<div class="spacer">
</div>
<i class="arg">action</i> is any identifier that does not conflict with a built-in action or keyword, <i class="arg">progpath</i> is the desired program, and <i class="arg">arg</i> is zero or more arguments to the program.<div class="spacer">
</div>
Remember that when using ‘<code class="lit">#</code>’ in your program call, it must be escaped with a backslash, i.e. \#<div class="spacer">
</div>
The following argument variables will be substituted for values at the time the program is spawned:<div class="spacer">
</div>
<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$bar_border</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$bar_color</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$bar_font</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$bar_font_color</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$color_focus</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$color_unfocus</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$dmenu_bottom</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
-b if <b class="cmd">bar_at_bottom</b> is enabled.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$region_index</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">$workspace_index</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
</dd>
</dl>
<div class="spacer">
</div>
Example:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
program[ff] = /usr/local/bin/firefox http://spectrwm.org/
bind[ff] = MOD+Shift+b # Now M-S-b launches firefox</pre>
<div class="spacer">
</div>
To cancel the previous, unbind it:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
bind[] = MOD+Shift+b</pre>
<div class="spacer">
</div>
Default programs:<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">lock</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
xlock</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">menu</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
dmenu_run $dmenu_bottom -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">term</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
xterm</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">initscr</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
initscreen.sh # optional</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">screenshot_all</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
screenshot.sh full # optional</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">screenshot_wind</b></dt>
<dd class="list-tag" style="margin-left: 15.00ex;">
screenshot.sh window # optional</dd>
</dl>
<div class="spacer">
</div>
Note that optional default programs will not be validated unless overridden. If a default program fails validation, you can resolve the exception by installing the program, modifying the program call or disabling the program by freeing the respective binding.<div class="spacer">
</div>
For example, to override <b class="cmd">lock</b>:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
program[lock] = xscreensaver-command -lock</pre>
<div class="spacer">
</div>
To unbind <b class="cmd">lock</b> and prevent it from being validated:<div class="spacer">
</div>
<pre style="margin-left: 5.00ex;" class="lit display">
bind[] = MOD+Shift+Delete</pre>
</div>
<div class="section">
<h1 id="BINDINGS">BINDINGS</h1> <b class="name">spectrwm</b> provides many functions (or actions) accessed via key or pointer bindings.<div class="spacer">
</div>
The default bindings are listed below:<div class="spacer">
</div>
<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<b class="flag">Button1</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
focus</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Button1</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
move</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Button3</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
resize</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Button3</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
resize_centered</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Return</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
term</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-p</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
menu</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-q</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
quit</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-q</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
restart</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Space</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
cycle_layout</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-\</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
flip_layout</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Space</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
stack_reset</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<i class="arg">unbound</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
stack_balance</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-h</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
master_shrink</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-l</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
master_grow</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-,</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
master_add</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-.</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
master_del</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-,</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
stack_inc</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-.</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
stack_dec</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Return</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
swap_main</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-j</b>, <b class="flag">M-</b>⟨<b class="flag">TAB</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
focus_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-k</b>, <b class="flag">M-S-</b>⟨<b class="flag">TAB</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
focus_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-m</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
focus_main</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-u</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
focus_urgent</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-j</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
swap_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-k</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
swap_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-b</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
bar_toggle</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-b</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
bar_toggle_ws</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-x</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
wind_del</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-x</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
wind_kill</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<i class="arg">1-9,0,F1-F12</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_⟨<i class="arg">1-22</i>⟩</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<i class="arg">1-9,0,F1-F12</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
mvws_⟨<i class="arg">1-22</i>⟩</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<i class="arg">Keypad 1-9</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
rg_⟨<i class="arg">1-9</i>⟩</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<i class="arg">Keypad 1-9</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
mvrg_⟨<i class="arg">1-9</i>⟩</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<i class="arg">unbound</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
mvrg_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<i class="arg">unbound</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
mvrg_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Right</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Left</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Up</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_next_all</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-</b>⟨<b class="flag">Down</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_prev_all</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-a</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_prior</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Down</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_prev_move</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Up</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
ws_next_move</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Right</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
rg_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Left</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
rg_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<i class="arg">unbound</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
rg_move_next</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
⟨<i class="arg">unbound</i>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
rg_move_prev</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-s</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
screenshot_all</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-s</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
screenshot_wind</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-v</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
version</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-t</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
float_toggle</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-</b>⟨<b class="flag">Delete</b>⟩</dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
lock</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-i</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
initscr</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-w</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
iconify</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-w</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
uniconify</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-e</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
maximize_toggle</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-e</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
fullscreen_toggle</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-r</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
raise</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-r</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
always_raise</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-v</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
button2</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M--</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
width_shrink</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-=</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
width_grow</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S--</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
height_shrink</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-=</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
height_grow</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-[</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
move_left</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-]</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
move_right</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-[</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
move_up</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-]</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
move_down</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-S-/</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
name_workspace</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-/</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
search_workspace</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">M-f</b></dt>
<dd class="list-tag" style="margin-left: 18.00ex;">
search_win</dd>
</dl>
<div class="spacer">
</div>
The action names and descriptions are listed below:<div class="spacer">
</div>
<dl style="margin-top: 0.00em;margin-bottom: 0.00em;margin-left: 6.00ex;" class="list list-tag">
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">focus</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus window/region under pointer.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">move</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Move window with pointer while binding is pressed.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">resize</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Resize window with pointer while binding is pressed.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">resize_centered</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Same as <b class="cmd">resize</b> but keep window centered.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">term</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Spawn a new terminal (see <i class="link-sec"><a class="link-sec" href="#PROGRAMS">PROGRAMS</a></i> above).</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">menu</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Menu (see <i class="link-sec"><a class="link-sec" href="#PROGRAMS">PROGRAMS</a></i> above).</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">quit</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Quit <b class="name">spectrwm</b>.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">restart</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Restart <b class="name">spectrwm</b>.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">cycle_layout</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Cycle layout.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">flip_layout</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Swap the master and stacking areas.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">stack_reset</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Reset layout.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">stack_balance</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Balance master/stacking area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">master_shrink</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Shrink master area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">master_grow</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Grow master area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">master_add</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Add windows to master area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">master_del</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Remove windows from master area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">stack_inc</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Add columns/rows to stacking area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">stack_dec</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Remove columns/rows from stacking area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">swap_main</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Move current window to master area.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">focus_next</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus next window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">focus_prev</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus previous window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">focus_main</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus on main window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">focus_urgent</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus on next window with the urgency hint flag set. The workspace is switched if needed.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">swap_next</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Swap with next window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">swap_prev</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Swap with previous window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">bar_toggle</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Toggle overall visibility of status bars.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">bar_toggle_ws</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Toggle status bar on current workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">wind_del</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Delete current window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">wind_kill</b></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Destroy current window in workspace.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">ws_</b><i class="arg">n</i></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Switch to workspace <i class="arg">n</i>, where <i class="arg">n</i> is 1 through <b class="cmd">workspace_limit</b>.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">mvws_</b><i class="arg">n</i></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Move current window to workspace <i class="arg">n</i>, where <i class="arg">n</i> is 1 through <b class="cmd">workspace_limit</b>.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">rg_</b><i class="arg">n</i></dt>
<dd class="list-tag" style="margin-left: 16.00ex;">
Focus on region <i class="arg">n</i>, where <i class="arg">n</i> is 1 through 9.</dd>
<dt class="list-tag" style="margin-top: 0.00em;">
<b class="flag">mvrg_</b><i class="arg">n</i></dt>