Revision 2 of the cheat sheet

This commit is contained in:
joten 2015-07-15 22:46:00 +02:00
parent d906e3c5e4
commit fc0ec399e4
8 changed files with 425 additions and 403 deletions

View File

@ -1,221 +1,208 @@
## bug.n default hotkeys
### Abbreviations
* `!` <kbd>Alt</kbd>
* `^` <kbd>Ctrl</kbd>, Control
* `#` <kbd>Win</kbd> / LWin, the left Windows key
* `+` <kbd>Shift</kbd>
### Window management
#### #Down
Activate the next window in the active view.
#### <kbd>Win</kbd><kbd>Down</kbd>
_Activate_ the _next_ window in the active view.
#### #Up
Activate the previous window in the active view.
#### <kbd>Win</kbd><kbd>Up</kbd>
_Activate_ the _previous_ window in the active view.
#### #+Down
Move the active window to the next position in the window list of the view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Down</kbd>
_Move_ the active window _to the next position_ in the window list of the view.
#### #+Up
Move the active window to the previous position in the window list of the view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Up</kbd>
_Move_ the active window _to the previous position_ in the window list of the view.
#### #+Enter
Move the active window to the first position in the window list of the view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Enter</kbd>
_Move_ the active window _to the first position_ in the window list of the view.
#### #c
Close the active window.
#### <kbd>Win</kbd><kbd>c</kbd>
_Close_ the active window.
#### #+d
Show / Hide the title bar of the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>d</kbd>
_Show / Hide the title bar_ of the active window.
#### #+f
Toggle the floating status of the active window.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>f</kbd>
_Toggle_ the _floating status_ of the active window.
#### #^m
Minimize the active window.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>m</kbd>
_Minimize_ the active window.
#### #+m
Move the active window by key (only floating windows).
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>m</kbd>
_Move_ the active window _by key_.
#### #+s
Resize the active window by key (only floating windows).
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>s</kbd>
_Resize_ the active window _by key_.
#### #+x
Move and resize the active window to the size of the work area (only floating
windows).
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>x</kbd>
_Move and resize_ the active window _to_ the size of the _work area_.
#### #i
#### <kbd>Win</kbd><kbd>i</kbd>
Get information for the active window.
#### #+i
Get a window list for the active view.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>i</kbd>
_Get a window list_ for the active view.
#### !Down
Manually move the active window to the next area in the layout.
#### <kbd>Alt</kbd><kbd>Down</kbd>
Manually _move_ the active window _to the next area_ in the layout.
#### !Up
Manually move the active window to the previous area in the layout.
#### <kbd>Alt</kbd><kbd>Up</kbd>
Manually _move_ the active window _to the previous area_ in the layout.
#### !+Enter
Move and resize the active window to the size of the work area (only floating
windows).
#### <kbd>Alt</kbd><kbd>Shift</kbd><kbd>Enter</kbd>
_Move and resize_ the active window _to_ the size of the _work area_.
#### !&lt;n&gt;
Manually move the active window to the n<sup><small>th</small></sup> area in
the layout (n = 1..9).
#### !0
Manually move the active window to the n<sup><small>th</small></sup> area in
#### <kbd>Alt</kbd><kbd>&lt;n&gt;</kbd>
Manually _move_ the active window _to the n<sup><small>th</small></sup> area_ in
the layout.
#### !BackSpace
#### <kbd>Alt</kbd><kbd>0</kbd>
Manually _move_ the active window _to the n<sup><small>th</small></sup> area_ in
the layout.
#### <kbd>Alt</kbd><kbd>BackSpace</kbd>
Toggle the stack area of the layout.
### Window debugging
#### #^i
Dump window information on the windows of the active view to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>i</kbd>
_Dump_ window information on the _windows of the active view_ to the log.
#### #+^i
Dump window information on the contents of the managed window list to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>i</kbd>
_Dump_ window information on the _managed windows_ to the log.
#### #^h
Print a description of the formatting (column headings) used in the previous
two log messages to the log.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>h</kbd>
_Print column headings_ to the log.
#### #^d
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>d</kbd>
Decrement the debug log level.
#### #^+d
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>d</kbd>
Increment the debug log level.
### Layout management
#### #Tab
Set the previously set layout.
#### <kbd>Win</kbd><kbd>Tab</kbd>
Set the _previous_ly set _layout_.
#### #f
Set the floating layout.
#### <kbd>Win</kbd><kbd>f</kbd>
Set the _floating layout_.
#### #m
Set the monocle layout.
#### <kbd>Win</kbd><kbd>m</kbd>
Set the _monocle layout_.
#### #t
Set the tile layout.
#### <kbd>Win</kbd><kbd>t</kbd>
Set the _tile layout_.
#### #Left
Reduce the size of the master area in the active view (only for the "tile"
layout).
#### <kbd>Win</kbd><kbd>Left</kbd>
_Reduce_ the size of _the master area_ in the active view.
#### #Right
Enlarge the size of the master area in the active view (only for the "tile"
layout).
#### <kbd>Win</kbd><kbd>Right</kbd>
_Enlarge_ the size of _the master area_ in the active view.
#### #^t
Rotate the layout axis (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>t</kbd>
Rotate the layout axis.
#### #^Enter
Mirror the layout axis (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Enter</kbd>
Mirror the layout axis.
#### #^Tab
Rotate the master axis (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Tab</kbd>
Rotate the master axis.
#### #^+Tab
Rotate the stack axis (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Tab</kbd>
Rotate the stack axis.
#### #^Up
Increase the master Y dimension by 1 (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Up</kbd>
Increase the master Y dimension.
#### #^Down
Decrease the master Y dimension by 1 (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Down</kbd>
Decrease the master Y dimension.
#### #^Right
Increase the master X dimension by 1 (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Right</kbd>
Increase the master X dimension.
#### #^Left
Decrease the master X dimension by 1 (only for the "tile" layout).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Left</kbd>
Decrease the master X dimension.
#### #+Left
Decrease the gap between windows in "monocle" and "tile" layout.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Left</kbd>
_Decrease the gap between windows_ in "monocle" and "tile" layout.
#### #+Right
Increase the gap between windows in "monocle" and "tile" layout.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Right</kbd>
_Increase the gap between windows_ in "monocle" and "tile" layout.
### View / Tag management
#### #+n
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>n</kbd>
Toggle the view margins.
#### #BackSpace
#### <kbd>Win</kbd><kbd>BackSpace</kbd>
Activate the previously activated view.
#### #+0
Tag the active window with all tags (n = 1..`Config_viewCount`).
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>0</kbd>
Tag the active window with all tags.
#### #&lt;n&gt;
Activate the n<sup><small>th</small></sup> view (n = 1..`Config_viewCount`).
#### <kbd>Win</kbd><kbd>&lt;n&gt;</kbd>
Activate the n<sup><small>th</small></sup> view.
#### #+&lt;n&gt;
Tag the active window with the n<sup><small>th</small></sup> tag (n =
1..`Config_viewCount`).
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>&lt;n&gt;</kbd>
Tag the active window with the n<sup><small>th</small></sup> tag.
#### #^&lt;n&gt;
Add / Remove the n<sup><small>th</small></sup> tag (n = 1..`Config_viewCount`)
for the active window, if it is not / is already set.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>&lt;n&gt;</kbd>
Add / Remove the n<sup><small>th</small></sup> tag for the active window, if
it is not / is already set.
### Monitor management
#### #.
Activate the next monitor in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>.</kbd>
Activate the _next monitor_ in a multi-monitor environment.
#### #,
Activate the previous monitor in a multi-monitor environment.
#### <kbd>Win</kbd><kbd>,</kbd>
Activate the _previous monitor_ in a multi-monitor environment.
#### #+.
Set the active window's view to the active view on the next monitor in a
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>.</kbd>
_Set_ the active window's view _to_ the active view on _the next monitor_ in a
multi-monitor environment.
#### #+,
Set the active window's view to the active view on the previous monitor in a
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>,</kbd>
_Set_ the active window's view _to_ the active view on _the previous monitor_ in a
multi-monitor environment.
#### #^+.
Set all windows of the active view on the active view of the next monitor in
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>.</kbd>
_Set all windows_ of the active view _on_ the active view of _the next monitor_ in
a multi-monitor environment.
#### #^+,
Set all windows of the active view on the active view of the previous monitor
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>,</kbd>
_Set all windows_ of the active view _on_ the active view of _the previous monitor_
in a multi-monitor environment.
### GUI management
#### #+Space
Hide / Show the bar (bug.n status bar) on the active monitor.
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>Space</kbd>
_Hide / Show the bar_ (bug.n status bar) on the active monitor.
#### #Space
#### <kbd>Win</kbd><kbd>Space</kbd>
Hide / Show the task bar.
#### #y
Open the command GUI for executing programmes or bug.n functions.
#### <kbd>Win</kbd><kbd>y</kbd>
_Open the command GUI_ for executing programmes or bug.n functions.
#### #+y
#### <kbd>Win</kbd><kbd>Shift</kbd><kbd>y</kbd>
Toggle the overflow window of the 'notify icons'.
#### !+y
#### <kbd>Alt</kbd><kbd>Shift</kbd><kbd>y</kbd>
Indicate the areas of the "tile" layout.
### Administration
#### #^e
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>e</kbd>
Open the configuration file in the standard text editor.
#### #^s
Save the current state of monitors, views, layouts to the configuration file.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>s</kbd>
_Save the current state_ of monitors, views, layouts to the configuration file.
#### #^r
Reload bug.n (i. e. the whole script).
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>r</kbd>
_Reload_ bug.n (i. e. the whole script).
#### #^q
Quit bug.n, restore the default Windows UI and show all windows.
#### <kbd>Win</kbd><kbd>Ctrl</kbd><kbd>q</kbd>
_Quit_ bug.n, restore the default Windows UI and show all windows.

View File

@ -4,11 +4,16 @@ The cheat sheet was created from `bug.n/doc/Default_hotkeys.md` as a source by
* copying the file to `bug.n/doc/Cheat_sheet/`
* changing the title from "Default hotkeys" to "bug.n default hotkeys"
* changing the heading "General description" to "Abbreviations"
* finding and replacing "\r\n\r\n[^#*`>].-\r\n\r\n" with "\r\n\r\n" (lpeg pattern)
* finding and replacing "`Config_hotkey=" with "#### " (lpeg pattern)
* finding and replacing "::.-\n> " with "\n" (lpeg pattern)
* finding and replacing "<n>" with "&lt;n&gt;" (lpeg pattern)
* removing the section "General description"
* finding and replacing `\r\n\r\n[^#*`>].-\r\n\r\n` with `\r\n\r\n` (lpeg pattern)
-- This step has to be repeated. There are sections, which contain more than one additional paragraph.
* finding and replacing ``Config_hotkey=` with `#### <kbd>`
* finding and replacing `::.-\n> ` with `</kbd>\n` (lpeg pattern)
* finding and replacing `<kbd>#` with `<kbd>Win</kbd><kbd>`
* finding and replacing `<kbd>!` with `<kbd>Alt</kbd><kbd>`
* finding and replacing `<kbd>^` with `<kbd>Ctrl</kbd><kbd>`
* finding and replacing `<kbd>+` with `<kbd>Shift</kbd><kbd>`
* finding and replacing `<n>` with `&lt;n&gt;`
* converting the markdown to HTML with the following command:
`pandoc -o cheat_sheet.html -S --section-divs -c reset.css -c cheat_sheet.css Default_hotkeys.md`

View File

@ -8,6 +8,7 @@
height: 190mm;
width: 277mm;
}
em { font-weight: bold; }
h2 {
/* background-color: #008AB8;*/
/* border-radius: 4px;*/
@ -38,35 +39,37 @@ h3 {
padding: 4px;
}
.level4 { margin: 4px 0; }
.level4 { padding: 4px 0; }
.level4:last-child { margin: 0px 0; }
.level4:nth-child(2n+1) { background-color: lightgrey; }
h4 {
float: left;
font-family: Ubuntu Mono, monospace;
line-height: 12px;
padding: 0 1mm;
width: 16mm;
width: 30mm;
}
p {
margin-left: 18mm;
margin-left: 32mm;
padding: 0 1mm;
}
small { font-size: 8px; }
sup { vertical-align: top; }
#abbreviations { position: absolute; top: 0; left: 0; }
#layout-management { position: absolute; top: 24.7ex; left: 0; }
#administration { position: absolute; bottom: 0; left: 0; }
#layout-management { position: absolute; top: 0; left: 0; }
#monitor-management { position: absolute; bottom: 0; left: 0; }
#window-management { position: absolute; top: 0; left: 93.5mm; }
#window-debugging { position: absolute; bottom: 0; left: 93.5mm; }
h2 { position: absolute; top: 0; left: 93.5mm; }
#window-management { position: absolute; bottom: 0; left: 93.5mm; }
#view-tag-management { position: absolute; top: 0; right: 0; } /* 3.2ex * 3 */
#monitor-management { position: absolute; top: 33.7ex; right: 0; }
h2 { position: absolute; top: 39.0ex; right: 0; }
#gui-management { position: absolute; bottom: 0; right: 0; }
#view-tag-management { position: absolute; top: 0; right: 0; }
#gui-management { position: absolute; top: 30.4ex; right: 0; }
#administration { position: absolute; top: 61.3ex; right: 0; }
#window-debugging { position: absolute; bottom: 0; right: 0; }
code { font-family: Ubuntu Mono, monospace; }
kbd {
background-color: lightgrey;
background-color: #f0f0f0;
border: 1px solid grey;
border-bottom-width: 2px;
border-radius: 4px;

View File

@ -12,282 +12,273 @@
<body>
<div id="bug.n-default-hotkeys" class="section level2">
<h2>bug.n default hotkeys</h2>
<div id="abbreviations" class="section level3">
<h3>Abbreviations</h3>
<ul>
<li><code>!</code> <kbd>Alt</kbd></li>
<li><code>^</code> <kbd>Ctrl</kbd>, Control</li>
<li><code>#</code> <kbd>Win</kbd> / LWin, the left Windows key</li>
<li><code>+</code> <kbd>Shift</kbd></li>
</ul>
</div>
<div id="window-management" class="section level3">
<h3>Window management</h3>
<div id="down" class="section level4">
<h4>#Down</h4>
<p>Activate the next window in the active view.</p>
<div id="windown" class="section level4">
<h4><kbd>Win</kbd><kbd>Down</kbd></h4>
<p><em>Activate</em> the <em>next</em> window in the active view.</p>
</div>
<div id="up" class="section level4">
<h4>#Up</h4>
<p>Activate the previous window in the active view.</p>
<div id="winup" class="section level4">
<h4><kbd>Win</kbd><kbd>Up</kbd></h4>
<p><em>Activate</em> the <em>previous</em> window in the active view.</p>
</div>
<div id="down-1" class="section level4">
<h4>#+Down</h4>
<p>Move the active window to the next position in the window list of the view.</p>
<div id="winshiftdown" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Down</kbd></h4>
<p><em>Move</em> the active window <em>to the next position</em> in the window list of the view.</p>
</div>
<div id="up-1" class="section level4">
<h4>#+Up</h4>
<p>Move the active window to the previous position in the window list of the view.</p>
<div id="winshiftup" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Up</kbd></h4>
<p><em>Move</em> the active window <em>to the previous position</em> in the window list of the view.</p>
</div>
<div id="enter" class="section level4">
<h4>#+Enter</h4>
<p>Move the active window to the first position in the window list of the view.</p>
<div id="winshiftenter" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Enter</kbd></h4>
<p><em>Move</em> the active window <em>to the first position</em> in the window list of the view.</p>
</div>
<div id="c" class="section level4">
<h4>#c</h4>
<p>Close the active window.</p>
<div id="winc" class="section level4">
<h4><kbd>Win</kbd><kbd>c</kbd></h4>
<p><em>Close</em> the active window.</p>
</div>
<div id="d" class="section level4">
<h4>#+d</h4>
<p>Show / Hide the title bar of the active window.</p>
<div id="winshiftd" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>d</kbd></h4>
<p><em>Show / Hide the title bar</em> of the active window.</p>
</div>
<div id="f" class="section level4">
<h4>#+f</h4>
<p>Toggle the floating status of the active window.</p>
<div id="winshiftf" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>f</kbd></h4>
<p><em>Toggle</em> the <em>floating status</em> of the active window.</p>
</div>
<div id="m" class="section level4">
<h4>#^m</h4>
<p>Minimize the active window.</p>
<div id="winctrlm" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>m</kbd></h4>
<p><em>Minimize</em> the active window.</p>
</div>
<div id="m-1" class="section level4">
<h4>#+m</h4>
<p>Move the active window by key (only floating windows).</p>
<div id="winshiftm" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>m</kbd></h4>
<p><em>Move</em> the active window <em>by key</em>.</p>
</div>
<div id="s" class="section level4">
<h4>#+s</h4>
<p>Resize the active window by key (only floating windows).</p>
<div id="winshifts" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>s</kbd></h4>
<p><em>Resize</em> the active window <em>by key</em>.</p>
</div>
<div id="x" class="section level4">
<h4>#+x</h4>
<p>Move and resize the active window to the size of the work area (only floating windows).</p>
<div id="winshiftx" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>x</kbd></h4>
<p><em>Move and resize</em> the active window <em>to</em> the size of the <em>work area</em>.</p>
</div>
<div id="i" class="section level4">
<h4>#i</h4>
<div id="wini" class="section level4">
<h4><kbd>Win</kbd><kbd>i</kbd></h4>
<p>Get information for the active window.</p>
</div>
<div id="i-1" class="section level4">
<h4>#+i</h4>
<p>Get a window list for the active view.</p>
<div id="winshifti" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>i</kbd></h4>
<p><em>Get a window list</em> for the active view.</p>
</div>
<div id="down-2" class="section level4">
<h4>!Down</h4>
<p>Manually move the active window to the next area in the layout.</p>
<div id="altdown" class="section level4">
<h4><kbd>Alt</kbd><kbd>Down</kbd></h4>
<p>Manually <em>move</em> the active window <em>to the next area</em> in the layout.</p>
</div>
<div id="up-2" class="section level4">
<h4>!Up</h4>
<p>Manually move the active window to the previous area in the layout.</p>
<div id="altup" class="section level4">
<h4><kbd>Alt</kbd><kbd>Up</kbd></h4>
<p>Manually <em>move</em> the active window <em>to the previous area</em> in the layout.</p>
</div>
<div id="enter-1" class="section level4">
<h4>!+Enter</h4>
<p>Move and resize the active window to the size of the work area (only floating windows).</p>
<div id="altshiftenter" class="section level4">
<h4><kbd>Alt</kbd><kbd>Shift</kbd><kbd>Enter</kbd></h4>
<p><em>Move and resize</em> the active window <em>to</em> the size of the <em>work area</em>.</p>
</div>
<div id="n" class="section level4">
<h4>!&lt;n&gt;</h4>
<p>Manually move the active window to the n<sup><small>th</small></sup> area in the layout (n = 1..9).</p>
<div id="altn" class="section level4">
<h4><kbd>Alt</kbd><kbd>&lt;n&gt;</kbd></h4>
<p>Manually <em>move</em> the active window <em>to the n<sup><small>th</small></sup> area</em> in the layout.</p>
</div>
<div id="section" class="section level4">
<h4>!0</h4>
<p>Manually move the active window to the n<sup><small>th</small></sup> area in the layout.</p>
<div id="alt0" class="section level4">
<h4><kbd>Alt</kbd><kbd>0</kbd></h4>
<p>Manually <em>move</em> the active window <em>to the n<sup><small>th</small></sup> area</em> in the layout.</p>
</div>
<div id="backspace" class="section level4">
<h4>!BackSpace</h4>
<div id="altbackspace" class="section level4">
<h4><kbd>Alt</kbd><kbd>BackSpace</kbd></h4>
<p>Toggle the stack area of the layout.</p>
</div>
</div>
<div id="window-debugging" class="section level3">
<h3>Window debugging</h3>
<div id="i-2" class="section level4">
<h4>#^i</h4>
<p>Dump window information on the windows of the active view to the log.</p>
<div id="winctrli" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>i</kbd></h4>
<p><em>Dump</em> window information on the <em>windows of the active view</em> to the log.</p>
</div>
<div id="i-3" class="section level4">
<h4>#+^i</h4>
<p>Dump window information on the contents of the managed window list to the log.</p>
<div id="winctrlshifti" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>i</kbd></h4>
<p><em>Dump</em> window information on the <em>managed windows</em> to the log.</p>
</div>
<div id="h" class="section level4">
<h4>#^h</h4>
<p>Print a description of the formatting (column headings) used in the previous two log messages to the log.</p>
<div id="winctrlh" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>h</kbd></h4>
<p><em>Print column headings</em> to the log.</p>
</div>
<div id="d-1" class="section level4">
<h4>#^d</h4>
<div id="winctrld" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>d</kbd></h4>
<p>Decrement the debug log level.</p>
</div>
<div id="d-2" class="section level4">
<h4>#^+d</h4>
<div id="winctrlshiftd" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>d</kbd></h4>
<p>Increment the debug log level.</p>
</div>
</div>
<div id="layout-management" class="section level3">
<h3>Layout management</h3>
<div id="tab" class="section level4">
<h4>#Tab</h4>
<p>Set the previously set layout.</p>
<div id="wintab" class="section level4">
<h4><kbd>Win</kbd><kbd>Tab</kbd></h4>
<p>Set the <em>previous</em>ly set <em>layout</em>.</p>
</div>
<div id="f-1" class="section level4">
<h4>#f</h4>
<p>Set the floating layout.</p>
<div id="winf" class="section level4">
<h4><kbd>Win</kbd><kbd>f</kbd></h4>
<p>Set the <em>floating layout</em>.</p>
</div>
<div id="m-2" class="section level4">
<h4>#m</h4>
<p>Set the monocle layout.</p>
<div id="winm" class="section level4">
<h4><kbd>Win</kbd><kbd>m</kbd></h4>
<p>Set the <em>monocle layout</em>.</p>
</div>
<div id="t" class="section level4">
<h4>#t</h4>
<p>Set the tile layout.</p>
<div id="wint" class="section level4">
<h4><kbd>Win</kbd><kbd>t</kbd></h4>
<p>Set the <em>tile layout</em>.</p>
</div>
<div id="left" class="section level4">
<h4>#Left</h4>
<p>Reduce the size of the master area in the active view (only for the “tile” layout).</p>
<div id="winleft" class="section level4">
<h4><kbd>Win</kbd><kbd>Left</kbd></h4>
<p><em>Reduce</em> the size of <em>the master area</em> in the active view.</p>
</div>
<div id="right" class="section level4">
<h4>#Right</h4>
<p>Enlarge the size of the master area in the active view (only for the “tile” layout).</p>
<div id="winright" class="section level4">
<h4><kbd>Win</kbd><kbd>Right</kbd></h4>
<p><em>Enlarge</em> the size of <em>the master area</em> in the active view.</p>
</div>
<div id="t-1" class="section level4">
<h4>#^t</h4>
<p>Rotate the layout axis (only for the “tile” layout).</p>
<div id="winctrlt" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>t</kbd></h4>
<p>Rotate the layout axis.</p>
</div>
<div id="enter-2" class="section level4">
<h4>#^Enter</h4>
<p>Mirror the layout axis (only for the “tile” layout).</p>
<div id="winctrlenter" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Enter</kbd></h4>
<p>Mirror the layout axis.</p>
</div>
<div id="tab-1" class="section level4">
<h4>#^Tab</h4>
<p>Rotate the master axis (only for the “tile” layout).</p>
<div id="winctrltab" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Tab</kbd></h4>
<p>Rotate the master axis.</p>
</div>
<div id="tab-2" class="section level4">
<h4>#^+Tab</h4>
<p>Rotate the stack axis (only for the “tile” layout).</p>
<div id="winctrlshifttab" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>Tab</kbd></h4>
<p>Rotate the stack axis.</p>
</div>
<div id="up-3" class="section level4">
<h4>#^Up</h4>
<p>Increase the master Y dimension by 1 (only for the “tile” layout).</p>
<div id="winctrlup" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Up</kbd></h4>
<p>Increase the master Y dimension.</p>
</div>
<div id="down-3" class="section level4">
<h4>#^Down</h4>
<p>Decrease the master Y dimension by 1 (only for the “tile” layout).</p>
<div id="winctrldown" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Down</kbd></h4>
<p>Decrease the master Y dimension.</p>
</div>
<div id="right-1" class="section level4">
<h4>#^Right</h4>
<p>Increase the master X dimension by 1 (only for the “tile” layout).</p>
<div id="winctrlright" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Right</kbd></h4>
<p>Increase the master X dimension.</p>
</div>
<div id="left-1" class="section level4">
<h4>#^Left</h4>
<p>Decrease the master X dimension by 1 (only for the “tile” layout).</p>
<div id="winctrlleft" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Left</kbd></h4>
<p>Decrease the master X dimension.</p>
</div>
<div id="left-2" class="section level4">
<h4>#+Left</h4>
<p>Decrease the gap between windows in “monocle” and “tile” layout.</p>
<div id="winshiftleft" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Left</kbd></h4>
<p><em>Decrease the gap between windows</em> in “monocle” and “tile” layout.</p>
</div>
<div id="right-2" class="section level4">
<h4>#+Right</h4>
<p>Increase the gap between windows in “monocle” and “tile” layout.</p>
<div id="winshiftright" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Right</kbd></h4>
<p><em>Increase the gap between windows</em> in “monocle” and “tile” layout.</p>
</div>
</div>
<div id="view-tag-management" class="section level3">
<h3>View / Tag management</h3>
<div id="n-1" class="section level4">
<h4>#+n</h4>
<div id="winshiftn" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>n</kbd></h4>
<p>Toggle the view margins.</p>
</div>
<div id="backspace-1" class="section level4">
<h4>#BackSpace</h4>
<div id="winbackspace" class="section level4">
<h4><kbd>Win</kbd><kbd>BackSpace</kbd></h4>
<p>Activate the previously activated view.</p>
</div>
<div id="section-1" class="section level4">
<h4>#+0</h4>
<p>Tag the active window with all tags (n = 1..<code>Config_viewCount</code>).</p>
<div id="winshift0" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>0</kbd></h4>
<p>Tag the active window with all tags.</p>
</div>
<div id="n-2" class="section level4">
<h4>#&lt;n&gt;</h4>
<p>Activate the n<sup><small>th</small></sup> view (n = 1..<code>Config_viewCount</code>).</p>
<div id="winn" class="section level4">
<h4><kbd>Win</kbd><kbd>&lt;n&gt;</kbd></h4>
<p>Activate the n<sup><small>th</small></sup> view.</p>
</div>
<div id="n-3" class="section level4">
<h4>#+&lt;n&gt;</h4>
<p>Tag the active window with the n<sup><small>th</small></sup> tag (n = 1..<code>Config_viewCount</code>).</p>
<div id="winshiftn-1" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>&lt;n&gt;</kbd></h4>
<p>Tag the active window with the n<sup><small>th</small></sup> tag.</p>
</div>
<div id="n-4" class="section level4">
<h4>#^&lt;n&gt;</h4>
<p>Add / Remove the n<sup><small>th</small></sup> tag (n = 1..<code>Config_viewCount</code>) for the active window, if it is not / is already set.</p>
<div id="winctrln" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>&lt;n&gt;</kbd></h4>
<p>Add / Remove the n<sup><small>th</small></sup> tag for the active window, if it is not / is already set.</p>
</div>
</div>
<div id="monitor-management" class="section level3">
<h3>Monitor management</h3>
<div id="section-2" class="section level4">
<h4>#.</h4>
<p>Activate the next monitor in a multi-monitor environment.</p>
<div id="win." class="section level4">
<h4><kbd>Win</kbd><kbd>.</kbd></h4>
<p>Activate the <em>next monitor</em> in a multi-monitor environment.</p>
</div>
<div id="section-3" class="section level4">
<h4>#,</h4>
<p>Activate the previous monitor in a multi-monitor environment.</p>
<div id="win" class="section level4">
<h4><kbd>Win</kbd><kbd>,</kbd></h4>
<p>Activate the <em>previous monitor</em> in a multi-monitor environment.</p>
</div>
<div id="section-4" class="section level4">
<h4>#+.</h4>
<p>Set the active windows view to the active view on the next monitor in a multi-monitor environment.</p>
<div id="winshift." class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>.</kbd></h4>
<p><em>Set</em> the active windows view <em>to</em> the active view on <em>the next monitor</em> in a multi-monitor environment.</p>
</div>
<div id="section-5" class="section level4">
<h4>#+,</h4>
<p>Set the active windows view to the active view on the previous monitor in a multi-monitor environment.</p>
<div id="winshift" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>,</kbd></h4>
<p><em>Set</em> the active windows view <em>to</em> the active view on <em>the previous monitor</em> in a multi-monitor environment.</p>
</div>
<div id="section-6" class="section level4">
<h4>#^+.</h4>
<p>Set all windows of the active view on the active view of the next monitor in a multi-monitor environment.</p>
<div id="winctrlshift." class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>.</kbd></h4>
<p><em>Set all windows</em> of the active view <em>on</em> the active view of <em>the next monitor</em> in a multi-monitor environment.</p>
</div>
<div id="section-7" class="section level4">
<h4>#^+,</h4>
<p>Set all windows of the active view on the active view of the previous monitor in a multi-monitor environment.</p>
<div id="winctrlshift" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>Shift</kbd><kbd>,</kbd></h4>
<p><em>Set all windows</em> of the active view <em>on</em> the active view of <em>the previous monitor</em> in a multi-monitor environment.</p>
</div>
</div>
<div id="gui-management" class="section level3">
<h3>GUI management</h3>
<div id="space" class="section level4">
<h4>#+Space</h4>
<p>Hide / Show the bar (bug.n status bar) on the active monitor.</p>
<div id="winshiftspace" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>Space</kbd></h4>
<p><em>Hide / Show the bar</em> (bug.n status bar) on the active monitor.</p>
</div>
<div id="space-1" class="section level4">
<h4>#Space</h4>
<div id="winspace" class="section level4">
<h4><kbd>Win</kbd><kbd>Space</kbd></h4>
<p>Hide / Show the task bar.</p>
</div>
<div id="y" class="section level4">
<h4>#y</h4>
<p>Open the command GUI for executing programmes or bug.n functions.</p>
<div id="winy" class="section level4">
<h4><kbd>Win</kbd><kbd>y</kbd></h4>
<p><em>Open the command GUI</em> for executing programmes or bug.n functions.</p>
</div>
<div id="y-1" class="section level4">
<h4>#+y</h4>
<div id="winshifty" class="section level4">
<h4><kbd>Win</kbd><kbd>Shift</kbd><kbd>y</kbd></h4>
<p>Toggle the overflow window of the notify icons.</p>
</div>
<div id="y-2" class="section level4">
<h4>!+y</h4>
<div id="altshifty" class="section level4">
<h4><kbd>Alt</kbd><kbd>Shift</kbd><kbd>y</kbd></h4>
<p>Indicate the areas of the “tile” layout.</p>
</div>
</div>
<div id="administration" class="section level3">
<h3>Administration</h3>
<div id="e" class="section level4">
<h4>#^e</h4>
<div id="winctrle" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>e</kbd></h4>
<p>Open the configuration file in the standard text editor.</p>
</div>
<div id="s-1" class="section level4">
<h4>#^s</h4>
<p>Save the current state of monitors, views, layouts to the configuration file.</p>
<div id="winctrls" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>s</kbd></h4>
<p><em>Save the current state</em> of monitors, views, layouts to the configuration file.</p>
</div>
<div id="r" class="section level4">
<h4>#^r</h4>
<p>Reload bug.n (i. e. the whole script).</p>
<div id="winctrlr" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>r</kbd></h4>
<p><em>Reload</em> bug.n (i. e. the whole script).</p>
</div>
<div id="q" class="section level4">
<h4>#^q</h4>
<p>Quit bug.n, restore the default Windows UI and show all windows.</p>
<div id="winctrlq" class="section level4">
<h4><kbd>Win</kbd><kbd>Ctrl</kbd><kbd>q</kbd></h4>
<p><em>Quit</em> bug.n, restore the default Windows UI and show all windows.</p>
</div>
</div>
</div>

Binary file not shown.

View File

@ -20,49 +20,54 @@ left 'Windows key' and the 'Control key' and the 'Q key'
### Window management
`Config_hotkey=#Down::View_activateWindow(0, +1)`
> Activate the next window in the active view.
> _Activate_ the _next_ window in the active view.
`Config_hotkey=#Up::View_activateWindow(0, -1)`
> Activate the previous window in the active view.
> _Activate_ the _previous_ window in the active view.
`Config_hotkey=#+Down::View_shuffleWindow(0, +1)`
> Move the active window to the next position in the window list of the view.
> _Move_ the active window _to the next position_ in the window list of the view.
`Config_hotkey=#+Up::View_shuffleWindow(0, -1)`
> Move the active window to the previous position in the window list of the view.
> _Move_ the active window _to the previous position_ in the window list of the view.
`Config_hotkey=#+Enter::View_shuffleWindow(1)`
> Move the active window to the first position in the window list of the view.
> _Move_ the active window _to the first position_ in the window list of the view.
You may also move the active window to any other absolute position in the
window list by using the first parameter.
`Config_hotkey=#c::Manager_closeWindow()`
> Close the active window.
> _Close_ the active window.
`Config_hotkey=#+d::Window_toggleDecor()`
> Show / Hide the title bar of the active window.
> _Show / Hide the title bar_ of the active window.
`Config_hotkey=#+f::View_toggleFloatingWindow()`
> Toggle the floating status of the active window.
> _Toggle_ the _floating status_ of the active window.
The floating status effects the tiling of the active window (i. e. dis- /
regard it).
`Config_hotkey=#^m::Manager_minimizeWindow()`
> Minimize the active window.
> _Minimize_ the active window.
This implicitly makes the window floating.
This implicitly sets the window to be floating.
`Config_hotkey=#+m::Manager_moveWindow()`
> Move the active window by key (only floating windows).
> _Move_ the active window _by key_.
This implicitly sets the window to be floating.
`Config_hotkey=#+s::Manager_sizeWindow()`
> Resize the active window by key (only floating windows).
> _Resize_ the active window _by key_.
This implicitly sets the window to be floating.
`Config_hotkey=#+x::Manager_maximizeWindow()`
> Move and resize the active window to the size of the work area (only floating
windows).
> _Move and resize_ the active window _to_ the size of the _work area_.
This implicitly sets the window to be floating.
`Config_hotkey=#i::Manager_getWindowInfo()`
> Get information for the active window.
@ -71,28 +76,36 @@ The information being id, title, class, process name, style, geometry, tags and
floating state.
`Config_hotkey=#+i::Manager_getWindowList()`
> Get a window list for the active view.
> _Get a window list_ for the active view.
The list contains information about the window id, title and class.
`Config_hotkey=!Down::View_moveWindow(0, +1)`
> Manually move the active window to the next area in the layout.
> Manually _move_ the active window _to the next area_ in the layout.
`Config_hotkey=!Up::View_moveWindow(0, -1)`
> Manually move the active window to the previous area in the layout.
> Manually _move_ the active window _to the previous area_ in the layout.
`Config_hotkey=!+Enter::Manager_maximizeWindow()`
> Move and resize the active window to the size of the work area (only floating
windows).
> _Move and resize_ the active window _to_ the size of the _work area_.
This implicitly sets the window to be floating.
`Config_hotkey=!<n>::View_moveWindow(<n>)`
> Manually move the active window to the n<sup><small>th</small></sup> area in
the layout (n = 1..9).
> Manually _move_ the active window _to the n<sup><small>th</small></sup> area_ in
the layout.
&lt;n&gt; can be an integer between 1 and 9.
<!-- Theoreticaly, this function call seems not to be recognized.
`Config_hotkey=!0::View_moveWindow(10)`
> Manually move the active window to the n<sup><small>th</small></sup> area in
> Manually _move_ the active window _to the n<sup><small>th</small></sup> area_ in
the layout.
And what is the following?
-->
`Config_hotkey=!BackSpace::View_toggleStackArea()`
> Toggle the stack area of the layout.
@ -101,19 +114,18 @@ If the stack area is disabled, the master area takes up the whole view.
### Window debugging
`Config_hotkey=#^i::Debug_logViewWindowList()`
> Dump window information on the windows of the active view to the log.
> _Dump_ window information on the _windows of the active view_ to the log.
`Config_hotkey=#+^i::Debug_logManagedWindowList()`
> Dump window information on the contents of the managed window list to the log.
`Config_hotkey=#^+i::Debug_logManagedWindowList()`
> _Dump_ window information on the _managed windows_ to the log.
The list contains the floating and tiled windows of all views.
The list of managed windows contains the floating and tiled windows of all views.
`Config_hotkey=#^h::Debug_logHelp()`
> Print a description of the formatting (column headings) used in the previous
two log messages to the log.
> _Print column headings_ to the log.
The previous two hotkeys being `Manager_logViewWindowList` and
`Manager_logManagedWindowList`.
The column headings give a description of the formatting used in the previous
two hotkeys being `Manager_logViewWindowList` and `Manager_logManagedWindowList`.
`Config_hotkey=#^d::Debug_setLogLevel(0, -1)`
> Decrement the debug log level.
@ -130,23 +142,24 @@ level to an absolute value by using the first parameter.
### Layout management
`Config_hotkey=#Tab::View_setLayout(-1)`
> Set the previously set layout.
> Set the _previous_ly set _layout_.
You may also use `View_setLayout(0, +1)` for setting the next or
`View_setLayout(0, -1)` for setting the previous layout in the layout array.
`Config_hotkey=#f::View_setLayout(3)`
> Set the floating layout.
> Set the _floating layout_.
`Config_hotkey=#m::View_setLayout(2)`
> Set the monocle layout.
> Set the _monocle layout_.
`Config_hotkey=#t::View_setLayout(1)`
> Set the tile layout.
> Set the _tile layout_.
`Config_hotkey=#Left::View_setLayoutProperty(MFactor, 0, -0.05)`
> Reduce the size of the master area in the active view (only for the "tile"
layout).
> _Reduce_ the size of _the master area_ in the active view.
This has only an effect, if the tile layout is active.
You may also set an additional parameter for accelerating the third one. E. g.
with `Config_hotkey=#Left::View_setLayoutProperty(MFactor, 0, -0.05, 2)` the
@ -156,8 +169,9 @@ With the second parameter you may set an absolute value, e. g.
`View_setLayoutProperty(MFactor, 0.5, 0)` splits the view in half.
`Config_hotkey=#Right::View_setLayoutProperty(MFactor, 0, +0.05)`
> Enlarge the size of the master area in the active view (only for the "tile"
layout).
> _Enlarge_ the size of _the master area_ in the active view.
This has only an effect, if the tile layout is active.
You may also set a additional parameter for accelerating the third one. E. g.
with `Config_hotkey=#Right::View_setLayoutProperty(MFactor, 0, +0.05, 0.5)` the
@ -168,61 +182,77 @@ With the second parameter you may set an absolute value, e. g.
and the stacking area one third the size of the view.
`Config_hotkey=#^t::View_setLayoutProperty(Axis, 0, +1, 1)`
> Rotate the layout axis (only for the "tile" layout).
> Rotate the layout axis.
I. e. 2 -> 1 = vertical layout, 1 -> 2 = horizontal layout.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Enter::View_setLayoutProperty(Axis, 0, +2, 1)`
> Mirror the layout axis (only for the "tile" layout).
> Mirror the layout axis.
I. e. -1 -> 1 / 1 -> -1 = master on the left / right side,
-2 -> 2 / 2 -> -2 = master at top / bottom.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Tab::View_setLayoutProperty(Axis, 0, +1, 2)`
> Rotate the master axis (only for the "tile" layout).
> Rotate the master axis.
I. e. 3 -> 1 = x-axis = horizontal stack, 1 -> 2 = y-axis = vertical stack,
2 -> 3 = z-axis = monocle.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^+Tab::View_setLayoutProperty(Axis, 0, +1, 3)`
> Rotate the stack axis (only for the "tile" layout).
> Rotate the stack axis.
I. e. 3 -> 1 = x-axis = horizontal stack, 1 -> 2 = y-axis = vertical stack,
2 -> 3 = z-axis = monocle.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Up::View_setLayoutProperty(MY, 0, +1)`
> Increase the master Y dimension by 1 (only for the "tile" layout).
> Increase the master Y dimension.
This results in an increased number of windows in the master area by X.
Maximum of 9.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Down::View_setLayoutProperty(MY, 0, -1)`
> Decrease the master Y dimension by 1 (only for the "tile" layout).
> Decrease the master Y dimension.
This results in a decreased number of windows in the master area by X.
Minimum of 1.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Right::View_setLayoutProperty(MX, 0, +1)`
> Increase the master X dimension by 1 (only for the "tile" layout).
> Increase the master X dimension.
This results in an increased number of windows in the master area by Y.
Maximum of 9.
This has only an effect, if the tile layout is active.
`Config_hotkey=#^Left::View_setLayoutProperty(MX, 0, +1)`
> Decrease the master X dimension by 1 (only for the "tile" layout).
> Decrease the master X dimension.
This results in a decreased number of windows in the master area by Y.
Minimum of 1.
This has only an effect, if the tile layout is active.
`Config_hotkey=#+Left::View_setLayoutProperty(GapWidth, 0, -2)`
> Decrease the gap between windows in "monocle" and "tile" layout.
> _Decrease the gap between windows_ in "monocle" and "tile" layout.
You may also set an absolute value for the gap width by using the first
parameter, e. g. `View_setLayoutProperty(GapWidth, 0, 0)` will eliminate the
gap and `View_setLayoutProperty(GapWidth, 20, 0)` will set it to 20px.
`Config_hotkey=#+Right::View_setLayoutProperty(GapWidth, 0, +2)`
> Increase the gap between windows in "monocle" and "tile" layout.
> _Increase the gap between windows_ in "monocle" and "tile" layout.
### View / Tag management
@ -238,35 +268,40 @@ You may also use `Monitor_activateView(0, -1)` or `Monitor_activateView(0, +1)`
for activating the previous or next adjacent view.
`Config_hotkey=#+0::Monitor_setWindowTag(10)`
> Tag the active window with all tags (n = 1..`Config_viewCount`).
> Tag the active window with all tags.
`Config_hotkey=#<n>::Monitor_activateView(<n>)`
> Activate the n<sup><small>th</small></sup> view.
&lt;n&gt; can be an integer between 1 and `Config_viewCount`.
`Config_hotkey=#+<n>::Monitor_setWindowTag(<n>)`
> Tag the active window with the n<sup><small>th</small></sup> tag.
&lt;n&gt; can be an integer between 1 and `Config_viewCount`.
You may also use `Monitor_setWindowTag(0, -1)` or `Monitor_setWindowTag(0, +1)`
for setting the tag of the previous or next adjacent to the current view.
`Config_hotkey=#<n>::Monitor_activateView(<n>)`
> Activate the n<sup><small>th</small></sup> view (n = 1..`Config_viewCount`).
`Config_hotkey=#+<n>::Monitor_setWindowTag(<n>)`
> Tag the active window with the n<sup><small>th</small></sup> tag (n =
1..`Config_viewCount`).
`Config_hotkey=#^<n>::Monitor_toggleWindowTag(<n>)`
> Add / Remove the n<sup><small>th</small></sup> tag (n = 1..`Config_viewCount`)
for the active window, if it is not / is already set.
> Add / Remove the n<sup><small>th</small></sup> tag for the active window, if
it is not / is already set.
&lt;n&gt; can be an integer between 1 and `Config_viewCount`.
### Monitor management
`Config_hotkey=#.::Manager_activateMonitor(0, +1)`
> Activate the next monitor in a multi-monitor environment.
> Activate the _next monitor_ in a multi-monitor environment.
You may also activate a specific monitor by using the first parameter, e. g.
`Manager_activateMonitor(1)` will activate the first monitor.
`Config_hotkey=#,::Manager_activateMonitor(0, -1)`
> Activate the previous monitor in a multi-monitor environment.
> Activate the _previous monitor_ in a multi-monitor environment.
`Config_hotkey=#+.::Manager_setWindowMonitor(0, +1)`
> Set the active window's view to the active view on the next monitor in a
> _Set_ the active window's view _to_ the active view on _the next monitor_ in a
multi-monitor environment.
You may also set the active window on a specific monitor by using the first
@ -274,11 +309,11 @@ parameter, e. g. `Manager_setWindowMonitor(1)` will set the active window on
the first monitor.
`Config_hotkey=#+,::Manager_setWindowMonitor(0, -1)`
> Set the active window's view to the active view on the previous monitor in a
> _Set_ the active window's view _to_ the active view on _the previous monitor_ in a
multi-monitor environment.
`Config_hotkey=#^+.::Manager_setViewMonitor(0, +1)`
> Set all windows of the active view on the active view of the next monitor in
> _Set all windows_ of the active view _on_ the active view of _the next monitor_ in
a multi-monitor environment.
You may also set all windows of the active view on a specific monitor by using
@ -286,19 +321,19 @@ the first parameter, e. g. `Manager_setViewMonitor(1)` will set all windows of
the active view on the first monitor.
`Config_hotkey=#^+,::Manager_setViewMonitor(0, -1)`
> Set all windows of the active view on the active view of the previous monitor
> _Set all windows_ of the active view _on_ the active view of _the previous monitor_
in a multi-monitor environment.
### GUI management
`Config_hotkey=#+Space::Monitor_toggleBar()`
> Hide / Show the bar (bug.n status bar) on the active monitor.
> _Hide / Show the bar_ (bug.n status bar) on the active monitor.
`Config_hotkey=#Space::Monitor_toggleTaskBar()`
> Hide / Show the task bar.
`Config_hotkey=#y::Bar_toggleCommandGui()`
> Open the command GUI for executing programmes or bug.n functions.
> _Open the command GUI_ for executing programmes or bug.n functions.
`Config_hotkey=#+y::Monitor_toggleNotifyIconOverflowWindow()`
> Toggle the overflow window of the 'notify icons'.
@ -315,10 +350,10 @@ If you want to set this hotkey in `Config.ini`, you have to replace
`<Config_filePath>` with an explicit file path.
`Config_hotkey=#^s::Config_UI_saveSession()`
> Save the current state of monitors, views, layouts to the configuration file.
> _Save the current state_ of monitors, views, layouts to the configuration file.
`Config_hotkey=#^r::Reload`
> Reload bug.n (i. e. the whole script).
> _Reload_ bug.n (i. e. the whole script).
This resets i. a. the configuration and internal variables of bug.n, including
the window lists. It is like Quitting and restarting bug.n.
@ -326,4 +361,4 @@ If `Config_autoSaveSession` is not set to `off`, the window lists can be
restored and windows are put to their associated monitor and views.
`Config_hotkey=#^q::ExitApp`
> Quit bug.n, restore the default Windows UI and show all windows.
> _Quit_ bug.n, restore the default Windows UI and show all windows.

View File

@ -425,7 +425,7 @@ Config_UI_saveSession() {
;; Window debugging
#^i::Debug_logViewWindowList()
#+^i::Debug_logManagedWindowList()
#^+i::Debug_logManagedWindowList()
#^h::Debug_logHelp()
#^d::Debug_setLogLevel(0, -1)
#^+d::Debug_setLogLevel(0, +1)

View File

@ -202,6 +202,7 @@ View_ghostWindow(m, v, bodyWndId, ghostWndId)
StringReplace, View_#%m%_#%v%_wndIds, View_#%m%_#%v%_wndIds, %search%, %replace%
}
; @TODO: Theoretically, something is wrong here. From the hotkeys this should be manual tiling, but the function says otherwise.
View_moveWindow(i=0, d=0) {
Local aWndId, m, v