diff options
| author | Teddy Wing | 2018-11-08 17:55:03 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-11-08 17:55:03 +0100 |
| commit | 53b5fbba07c6f4662ad3eccb9c976c86584cfaba (patch) | |
| tree | e2750d31ced86b8b08a49b207064d1bcdbda5063 /index.html | |
| parent | 3fed5de1b0b8b390e89b4c85cdceebcdb4560ebd (diff) | |
| download | dome-key-web-53b5fbba07c6f4662ad3eccb9c976c86584cfaba.tar.bz2 | |
Use a smaller font size for mapping examples
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -28,13 +28,13 @@ <h2>Examples</h2> <p>Video controls:</p> - <pre class="code code-block margin-bottom-1.8"> + <pre class="code code-block margin-bottom-1.8 font-size-0.8"> map <Up> <Left> map <Play> <Space> map <Down> <Right></pre> <p>Preserve volume buttons and include video controls in a mode:</p> - <pre class="code code-block margin-bottom-1.8"> + <pre class="code code-block margin-bottom-1.8 font-size-0.8"> # Don't launch iTunes when pressing the middle button map <Play> <Nop> @@ -45,18 +45,18 @@ mode <Play><Play> { }</pre> <p>Application switcher:</p> - <pre class="code code-block margin-bottom-1.8"> + <pre class="code code-block margin-bottom-1.8 font-size-0.8"> map <Up> <D-S-Tab> map <Down> <D-Tab></pre> <p>Open frequently used applications:</p> - <pre class="code code-block margin-bottom-1.8"> + <pre class="code code-block margin-bottom-1.8 font-size-0.8"> cmd <Up> open -a Terminal cmd <Play> open -a Xcode cmd <Down> open -a Firefox</pre> <p>Open Terminal window #2:</p> - <pre class="code code-block margin-bottom-1.8"> + <pre class="code code-block margin-bottom-1.8 font-size-0.8"> cmd <Play> osascript -e 'activate application "Terminal"' -e 'tell application "System Events" to keystroke "2" using command down'</pre> </div> </body> |
