diff --git a/README.md b/README.md index 766952f..98bc547 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,12 @@ add-on for Microsoft Windows. It is written in the scripting language without you having to care about moving them all by mouse * Increase the available screen estate by hiding and therewith freeing up the space occupied by the Microsoft Windows Taskbar and the title bar for every - single window -* and replacing all with a single slim status bar (-- but bug.n is not a shell - replacement) + single window and replacing all with a single slim status bar (-- but bug.n + is not a shell replacement) * Show window management information in the status bar: active window title, active layout, overview of the views used * Show system information in the status bar: time and date, CPU and memory - usage, disk and network load, battery level + usage, disk and network load, battery and volume level * Store your settings, i. e. which windows and layout were set on a specific view * Support multiple monitors @@ -49,7 +48,7 @@ add-on for Microsoft Windows. It is written in the scripting language ### Installing and running bug.n -#### Requirements +##### Requirements * Microsoft Windows 2000 or higher * [AutoHotkey](http://ahkscript.org/download/) 1.1.10 or higher (if running @@ -67,22 +66,20 @@ There is no installation process for bug.n. Unpack the `zip` file, and you should be able to run either the executable as it is or the main script (`src\Main.ahk`) with [AutoHotkey](http://ahkscript.org/download/). -By default bug.n stores the session data (configuration, layout, window states -and log) to the user's APPDATA directory, e. g. -`C:\Users\joten\AppData\Roaming\bug.n`. +### Documentation -Please see the [documentation](./doc) or the -[Wiki](https://github.com/fuhsjr00/bug.n/wiki) for more information on -installing and running, customizing and using bug.n and for a list of changes -made with the current version, in particular the changes in the user interface -(configuration variables and hotkeys). +Please see the [documentation](./doc) for more information on +[installing and running](./doc/Installing_and_running.md), +[customizing](./doc/Customization.md) and [using](./doc/Usage.md) bug.n and for +a list of [changes](./doc/CHANGES.md) made with the current version, in +particular the changes in the user interface +([configuration variables](./doc/Default_configuration.md) and +[hotkeys](./doc/Default_hotkeys.md)). + +Please see the [CREDITS file](./doc/CREDITS.md) for a list of people and projects, +which contributed to bug.n. ### License bug.n is licensed under the GNU General Public License version 3. Please see the [LICENSE file](./LICENSE.md) for the full license text. - -### Credits - -Please see the [CREDITS file](./doc/CREDITS.md) for a list of people and projects, -which contributed to bug.n. diff --git a/bugn.exe b/bugn.exe index 05d318a..ba9d291 100644 Binary files a/bugn.exe and b/bugn.exe differ diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 424c465..846a55e 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -22,63 +22,66 @@ not implement the functionality: `Monitor_toggleWindowTag`, `View_activateWindow called with the window ID as a paramater, when applying the rule. 8. `~` Revised the default rule set. 9. `+` Added the possibility for sending commands to bug.n from another AutoHotkey script. +10. `~` Removed the function `Main_reload` and reassigned the hotkey. -| # | Configuration variables | `-` Hotkey functions | `+` Hotkey functions | -| --:| ------------------------- | --------------------------------------- | ----------------------------------------------------- | -| 1. | | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` | -| 2. | | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` | -| 3. | | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` | -| | | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` | -| | | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` | -| | | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` | -| | | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` | -| | | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` | -| | | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` | -| | | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` | -| | | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` | -| | | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` | -| | | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` | -| | | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` | -| 4. | | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` | -| | | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` | -| | | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` | -| | | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` | -| | | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` | -| | | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` | -| | | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` | -| | | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` | -| | | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` | -| | | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` | -| | | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` | -| | | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` | -| 5. | | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` | -| | | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` | -| 6. | `-` `Config_normBgColor` | | | -| | `-` `Config_normFgColor` | | | -| | `-` `Config_selBgColor` | | | -| | `-` `Config_selFgColor` | | | -| | `+` `Config_backColor_#1` | | | -| | `+` `Config_backColor_#2` | | | -| | `+` `Config_backColor_#3` | | | -| | `+` `Config_foreColor_#1` | | | -| | `+` `Config_foreColor_#2` | | | -| | `+` `Config_foreColor_#3` | | | -| | `+` `Config_fontColor_#1` | | | -| | `+` `Config_fontColor_#2` | | | -| | `+` `Config_fontColor_#3` | | | -| 7. | `~` `Config_rule_#2` | | | -| 8. | `~` `Config_rule_#3` | | | -| | `~` `Config_rule_#4` | | | -| | `~` `Config_rule_#7` | | | -| | `~` `Config_rule_#9` | | | -| | `~` `Config_rule_#10` | | | -| | `~` `Config_rule_#11` | | | -| | `~` `Config_rule_#12` | | | -| | `+` `Config_rule_#13` | | | -| | `+` `Config_rule_#14` | | | -| | `+` `Config_rule_#15` | | | -| | `+` `Config_rule_#16` | | | -| | `+` `Config_rule_#17` | | | +| # | Configuration variables | `-` Hotkey functions | `+` Hotkey functions | +| ---:| ------------------------- | --------------------------------------- | ----------------------------------------------------- | +| 1. | | `#+d::Manager_toggleDecor()` | `#+d::Window_toggleDecor()` | +| 2. | | `#+f::View_toggleFloating()` | `#+f::View_toggleFloatingWindow()` | +| 3. | | `#Left::View_setMFactor(-0.05)` | `#Left::View_setLayoutProperty("MFactor", 0, -0.05)` | +| | | `#Right::View_setMFactor(+0.05)` | `#Right::View_setLayoutProperty("MFactor", 0, +0.05)` | +| | | `#^t::View_rotateLayoutAxis(1, +1)` | `#^t::View_setLayoutProperty("Axis", 0, +1, 1)` | +| | | `#^Enter::View_rotateLayoutAxis(1, +2)` | `#^Enter::View_setLayoutProperty("Axis", 0, +2, 1)` | +| | | `#^Tab::View_rotateLayoutAxis(2, +1)` | `#^Tab::View_setLayoutProperty("Axis", 0, +1, 2)` | +| | | `#^+Tab::View_rotateLayoutAxis(3, +1)` | `#^+Tab::View_setLayoutProperty("Axis", 0, +1, 3)` | +| | | `#^Up::View_setMY(+1)` | `#^Up::View_setLayoutProperty("MY", 0, +1)` | +| | | `#^Down::View_setMY(-1)` | `#^Down::View_setLayoutProperty("MY", 0, -1)` | +| | | `#^Right::View_setMX(+1)` | `#^Right::View_setLayoutProperty("MX", 0, +1)` | +| | | `#^Left::View_setMX(-1)` | `#^Left::View_setLayoutProperty("MX", 0, -1)` | +| | | `#+Left::View_setGapWidth(-2)` | `#+Left::View_setLayoutProperty("GapWidth", 0, -2)` | +| | | `#+Right::View_setGapWidth(+2)` | `#+Right::View_setLayoutProperty("GapWidth", 0, +2)` | +| 4. | | `#^d::Debug_setLogLevel(-1)` | `#^d::Debug_setLogLevel(0, -1)` | +| | | `#^+d::Debug_setLogLevel(+1)` | `#^+d::Debug_setLogLevel(0, +1)` | +| | | `#+Down::View_shuffleWindow(+1)` | `#+Down::View_shuffleWindow(0, +1)` | +| | | `#+Up::View_shuffleWindow(-1)` | `#+Up::View_shuffleWindow(0, -1)` | +| | | `#+Enter::View_shuffleWindow(0)` | `#+Enter::View_shuffleWindow(1)` | +| | | `#+0::Monitor_setWindowTag(0)` | `#+0::Monitor_setWindowTag(10)` | +| | | `#.::Manager_activateMonitor(+1)` | `#.::Manager_activateMonitor(0, +1)` | +| | | `#,::Manager_activateMonitor(-1)` | `#,::Manager_activateMonitor(0, -1)` | +| | | `#+.::Manager_setWindowMonitor(+1)` | `#+.::Manager_setWindowMonitor(0, +1)` | +| | | `#+,::Manager_setWindowMonitor(-1)` | `#+,::Manager_setWindowMonitor(0, -1)` | +| | | `#^+.::Manager_setViewMonitor(+1)` | `#^+.::Manager_setViewMonitor(0, +1)` | +| | | `#^+,::Manager_setViewMonitor(-1)` | `#^+,::Manager_setViewMonitor(0, -1)` | +| 5. | | `#Down::View_activateWindow(+1)` | `#Down::View_activateWindow(0, +1)` | +| | | `#Up::View_activateWindow(-1)` | `#Up::View_activateWindow(0, -1)` | +| 6. | `-` `Config_normBgColor` | | | +| | `-` `Config_normFgColor` | | | +| | `-` `Config_selBgColor` | | | +| | `-` `Config_selFgColor` | | | +| | `+` `Config_backColor_#1` | | | +| | `+` `Config_backColor_#2` | | | +| | `+` `Config_backColor_#3` | | | +| | `+` `Config_foreColor_#1` | | | +| | `+` `Config_foreColor_#2` | | | +| | `+` `Config_foreColor_#3` | | | +| | `+` `Config_fontColor_#1` | | | +| | `+` `Config_fontColor_#2` | | | +| | `+` `Config_fontColor_#3` | | | +| 7. | `~` `Config_rule_#2` | | | +| 8. | `~` `Config_rule_#3` | | | +| | `~` `Config_rule_#4` | | | +| | `~` `Config_rule_#7` | | | +| | `~` `Config_rule_#9` | | | +| | `~` `Config_rule_#10` | | | +| | `~` `Config_rule_#11` | | | +| | `~` `Config_rule_#12` | | | +| | `+` `Config_rule_#13` | | | +| | `+` `Config_rule_#14` | | | +| | `+` `Config_rule_#15` | | | +| | `+` `Config_rule_#16` | | | +| | `+` `Config_rule_#17` | | | +| 10. | | `#^r::Main_reload()` | | +| | | `#^+r::Reload` | `#^r::Reload` | ### 8.4.0 diff --git a/doc/Default_hotkeys.md b/doc/Default_hotkeys.md index 26e75ae..26a2332 100644 --- a/doc/Default_hotkeys.md +++ b/doc/Default_hotkeys.md @@ -268,7 +268,7 @@ in a multi-monitor environment. `#^s::Config_UI_saveSession()` > Save the current state of monitors, views, layouts to the configuration file. -`#^+r::Reload` +`#^r::Reload` > Reload bug.n (i. e. the whole script), which resets i. a. the configuration and internal variables of bug.n, including the window lists. It is like Quitting and restarting bug.n. diff --git a/src/Manager.ahk b/src/Manager.ahk index bce3830..7df4f82 100644 --- a/src/Manager.ahk +++ b/src/Manager.ahk @@ -1107,7 +1107,7 @@ Manager_winActivate(wndId) { Manager_setCursor(wndId) Debug_logMessage("DEBUG[1] Activating window: " wndId, 1) If Not wndId { - If (A_OSVersion = "WIN_8") + If (A_OSVersion = "WIN_8" Or A_OSVersion = "WIN_8.1") WinGet, wndId, ID, ahk_class WorkerW Else WinGet, wndId, ID, Program Manager ahk_class Progman