forked from cheat/cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dwm
79 lines (54 loc) · 1.48 KB
/
dwm
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
Basic
=====
# launch terminal.
[Shift]+[Mod]+[Enter]
# show/hide bar.
[Mod]+[b]
# dmenu for running programs like the x#www#browser.
[Mod]+[p]
# push acive window from stack to master, or pulls last used window from stack onto master.
[Mod]+[Enter]
# focus on next/previous window in current tag.
[Mod] + [j / k]
# increases / decreases master size.
[Mod] + [h / l]
Navigation
==========
# moves your focus to tag 2.
[Mod]+[2]
# move active window to the 2 tag.
[Shift]+[Mod]+[2]
# increases / decreases number of windows on master
[Mod] + [i / d]
# move focus between screens (multi monitor setup)
[Mod] + [, / .]
# move active window to different screen.
[Shift]+[Mod]+[, / .]
# view all windows on screen.
[Mod]+[0]
# make focused window appear on all tags.
[Shift]+[Mod]+[0]
# kill active window.
[Shift]+[Mod]+[c]
# quit dwm cleanly.
[Shift]+[Mod]+[q]
Layout
======
# tiled mode. []=
[Mod]+[t]
# floating mode. ><>
[Mod]+[f]
# monocle mode. [M] (single window fullscreen)
[Mod]+[m]
Floating
========
# to resize the floating window.
[Mod]+[R M B]
# to move the floating window around.
[Mod]+[L M B]
# toggles to the previous layout mode.
[Mod]+[Space]
# to make an individual window float.
[Mod]+[Shift]+[Space]
# to make an individual window un#float.
[Mod]+[M M B]