forked from cmichi/awesome-cheatsheet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
awesome.tex
146 lines (102 loc) · 3.78 KB
/
awesome.tex
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
\documentclass[DIN, pagenumber=false, parskip=half]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[margin=0pt, landscape]{geometry}
\usepackage{graphics}
\usepackage{color}
\usepackage{url}
\usepackage[ ps2pdf=true,
colorlinks=false,
pdftitle={Awesome Window Manager - Cheatsheet},
pdfauthor={Michael Müller},
pdfsubject={Compilatino of useful shortcuts.},
pdfkeywords={Awesome Window Manager, Cheatsheet}
]{hyperref}
\setlength{\unitlength}{1mm}
\pagestyle{empty}
\setlength{\parindent}{0pt}
\definecolor{mygray}{gray}{.75}
\renewcommand{\dots}{\ \dotfill{}\ }
\title{Awesome Window Manager - Cheatsheet}
\author{Michael Müller}
\date{\today}
\begin{document}
\begin{picture}(297,210)
\put(10,200){
\begin{minipage}[t]{85mm}
\section*{Awesome Cheat Sheet}
\paragraph{Window manager control} \ \\
Client = Application window.\ \\
Mod4 + Ctrl + r\dots{}Restart awesome\\
Mod4 + Return\dots{}Start terminal in current tag\\
Mod4 + F1\dots{}Run terminal prompt\\
Mod4 + F4\dots{}Run Lua code prompt\\
%Mod4 + Ctrl + i\dots{}Print client class and instance\\
\paragraph{Clients} \ \\
Mod4 + Shift + r \dots{}Redraw the focused window\\
Mod4 + m\dots{}Maximize client\\
Mod4 + f\dots{}Set client fullscreen\\
Mod4 + Shift + c\dots{}Kill focused client\\ \\
Mod4 + 1\dots{}Go to Tag 1\\
Mod4 + Ctrl + 1-9\dots{}Toggle tag view\\
Mod4 + t\dots{}Mark a client\\
Mod4 + Shift + 1-9\dots{}Tag marked clients with tag\\
Mod4 + Shift + Ctrl + 1-9\dots{}Toggle tag on client\\
\paragraph{Mouse} \ \\
B1, B2, B3 = Mouse buttons 1--3.\ \\
Mod4 + B1 on tag\dots{}Tag client with this tag\\
Mod4 + B1 on client\dots{}Move window\\
Mod4 + B3 on tag\dots{}Toggle this tag for client\\
Mod4 + B3 on client\dots{}Resize window\\
B3 clicked on tag\dots{}Add tag to current view\\
\end{minipage}
}
\put(105,190.5){
\begin{minipage}[t]{85mm}
\paragraph{Navigation} \ \\
Mod4 + j\dots{}Focus next client\\
Mod4 + k\dots{}Focus previous client\\
Mod4 + u\dots{}Focus first urgent client\\
Mod4 + Left\dots{}View previous tag\\
Mod4 + Right\dots{}View next tag\\
Mod4 + 1-9\dots{}Switch to tag 1-9\\
Mod4 + Ctrl + j\dots{}Focus next screen\\
Mod4 + Ctrl + k\dots{}Focus previous screen\\
Mod4 + Esc\dots{}Focus previously selected tag set\\ \\
\paragraph{Layout modification} \ \\
Mod4 + Shift + k / j\dots{}Rotate clients around\\
Mod4 + h / l\dots{}Change master width by 5\%\\
Mod4 + Shift + h\dots{}Number of master windows +1\\
Mod4 + Shift + l\dots{}Number of master windows --1\\
Mod4 + Ctrl + h\dots{}Number of columns for non-master windows +1\\
Mod4 + Ctrl + l\dots{}Number of columns for non-master windows --1\\ \\
Mod4 + Space\dots{}Next layout\\
Mod4 + Shift + Space\dots{}Previous layout\\
Mod4 + Ctrl + Space\dots{}Floating master\\
Mod4 + Ctrl + Return\dots{}Swap focused client with master\\
\end{minipage}
}
\put(200,189){
\begin{minipage}[t]{85mm}
\paragraph{Important files} \ \\ \\
\texttt{~/.config/awesome/rc.lua}\\
\texttt{/etc/xdg/awesome/rc.lua}\\ \\
\paragraph{Links and information} \ \\ \\
\url{http://awesome.naquadah.org/}\\
\url{http://awesome.naquadah.org/wiki/}\\
\begin{picture}(0,10)
\linethickness{0,5mm}
\put(0,0){\color{mygray}\line(1,0){30}}
\end{picture}
\footnotesize{
Created by Michael Müller, 2010\\
\url{http://micha.elmueller.net/}\\
Released under the MIT license.\\
The \LaTeX{} source and license for\\
this sheet can be found at github:\\
\url{http://github.com/cmichi/awesome-cheatsheet}.
}
\end{minipage}
}
\end{picture}
\end{document}