dependabot[bot]
ca86418e3c
chore(deps): bump sysinfo from 0.26.4 to 0.26.7
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.26.4 to 0.26.7.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-31 09:01:45 -07:00
dependabot[bot]
d8c76b97a9
chore(deps): bump serde from 1.0.145 to 1.0.147
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.145 to 1.0.147.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.145...v1.0.147 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-31 09:01:19 -07:00
dependabot[bot]
a4be1b95e0
chore(deps): bump net2 from 0.2.37 to 0.2.38
...
Bumps [net2](https://github.com/deprecrated/net2-rs ) from 0.2.37 to 0.2.38.
- [Release notes](https://github.com/deprecrated/net2-rs/releases )
- [Commits](https://github.com/deprecrated/net2-rs/compare/0.2.37...0.2.38 )
---
updated-dependencies:
- dependency-name: net2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 08:38:58 -07:00
dependabot[bot]
6e666bc4d8
chore(deps): bump serde_json from 1.0.86 to 1.0.87
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.86...v1.0.87 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 08:38:48 -07:00
dependabot[bot]
857b3c9ccf
chore(deps): bump syn from 1.0.102 to 1.0.103
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.102 to 1.0.103.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 08:38:36 -07:00
dependabot[bot]
9b916c0c21
chore(deps): bump clap from 4.0.15 to 4.0.18
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.0.15 to 4.0.18.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.0.15...v4.0.18 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 08:38:22 -07:00
dependabot[bot]
b642eddb96
chore(deps): bump serde_yaml from 0.9.13 to 0.9.14
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.13 to 0.9.14.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.13...0.9.14 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-24 08:37:55 -07:00
LGUG2Z
1229c65580
fix(ahk): prefer runwait for ahk lib wrappers
...
This commit ensures that the generated AHK library for komorebic uses
RunWait instead of Run, as the latter is asynchronous and can result in
an unexpected order of calls when used in a komorebi.ahk configuration
file.
re #269
2022-10-21 15:24:31 -07:00
LGUG2Z
b25cc1c8bf
fix(wm): reset foreground access when calls fail
2022-10-21 14:10:12 -07:00
LGUG2Z
e02ddd47cc
fix(wm): eagerly set new active border position
...
This commit adds SocketMessage::FocusWindow as a target to update the
border position on at the end of the command handler. There are some
occasions where the EVENT_SYSTEM_FOREGROUND notification isn't being
sent (on newer versions of Win11, I think), so we can't count on the
border being updated when that event is received by the event handler.
2022-10-21 12:13:06 -07:00
LGUG2Z
e20b4aabc3
fix(clap): address deprecations
2022-10-20 14:21:27 -07:00
dependabot[bot]
acaee5595d
chore(deps): bump clap from 3.2.22 to 4.0.15
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.22 to 4.0.15.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.22...v4.0.15 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-20 14:21:27 -07:00
dependabot[bot]
083a142597
chore(deps): bump proc-macro2 from 1.0.46 to 1.0.47
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.46...1.0.47 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-17 09:17:02 -07:00
Max Bane
1633a5ebc2
fix(config): call ActiveWindowBorderColour correctly
...
The sample config only provided three of the four required arguments in
the example call to ActiveWindowBorderColour. Uncommenting the line as
it was would raise an error from AuthoHotKey.
2022-10-14 11:40:17 -07:00
Yusuf007R
352c010021
feat(wm): manage return bool of PostMessage + update ahk library
...
this commit makes a small refactor to the way PostMessageW is used so now be able to handle the
returned bool, as well as adding a custom error message to WindowsApi::close_window and updating the
ahk generated library
#259
2022-10-13 01:08:35 -07:00
Yusuf007R
33965f92ad
feat(wm): add close and minimize cmd
...
this commit adds the ability to close and minimize the current focused window via SocketMessages and
komorebic commands
resolve #189
2022-10-13 01:08:35 -07:00
Yusuf007R
635272fc10
feat(wm): add max number of attempts to set foreground
...
this commits adds a max number of attempts (5) to the call of set_foreground_window inside
Window:Focus
2022-10-13 01:06:58 -07:00
dependabot[bot]
5354e9c7a4
chore(deps): bump tracing-subscriber from 0.3.15 to 0.3.16
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 08:27:26 -07:00
dependabot[bot]
e35164f106
chore(deps): bump tracing from 0.1.36 to 0.1.37
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 08:27:16 -07:00
dependabot[bot]
a637eefd82
chore(deps): bump syn from 1.0.101 to 1.0.102
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.101...1.0.102 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 08:27:01 -07:00
dependabot[bot]
db361f36db
chore(deps): bump serde_json from 1.0.85 to 1.0.86
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.85...v1.0.86 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-10 08:26:43 -07:00
LGUG2Z
577fa0a97f
fix(wm): retry foreground calls on focus change
...
For the past few weeks since upgrading the windows-rs crate I've seen
sporadic failures when calling SetForegroundWindow which require a full
restart to get the wm working as expected again. Adding in a retry loop
here seems to help when the issue comes up for me on Windows 11.
2022-10-07 06:57:37 -07:00
dependabot[bot]
f8ada73739
chore(deps): bump proc-macro2 from 1.0.44 to 1.0.46
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.44...1.0.46 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-03 07:58:29 -07:00
dependabot[bot]
ffcc2f71d1
chore(deps): bump crossbeam-utils from 0.8.11 to 0.8.12
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.11 to 0.8.12.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases )
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.11...crossbeam-utils-0.8.12 )
---
updated-dependencies:
- dependency-name: crossbeam-utils
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-03 07:58:10 -07:00
dependabot[bot]
ed79793002
chore(deps): bump schemars from 0.8.10 to 0.8.11
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/GREsau/schemars/releases )
- [Changelog](https://github.com/GREsau/schemars/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GREsau/schemars/compare/v0.8.10...v0.8.11 )
---
updated-dependencies:
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-10-03 07:57:52 -07:00
sitiom
afb819a383
ci(winget): update workflow
2022-09-29 08:16:10 -07:00
LGUG2Z
3438818999
chore(deps): cargo update
2022-09-27 09:54:34 -07:00
LGUG2Z
611e4cc4a8
chore(deps): bump windows from 0.40 to 0.42
2022-09-27 09:53:43 -07:00
dependabot[bot]
27490de0d1
chore(deps): bump windows from 0.39.0 to 0.40.0
...
Bumps [windows](https://github.com/microsoft/windows-rs ) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.39.0...0.40.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-20 08:28:02 -07:00
dependabot[bot]
5112a8f39d
chore(deps): bump syn from 1.0.99 to 1.0.100
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.100 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-19 07:37:14 -07:00
LGUG2Z
c3f77ef4f8
chore(deps): cargo update
2022-09-18 08:37:24 -07:00
LGUG2Z
33520a46b5
fix(cli): open resp sock before sending query
...
This commit ensures that a response socket is opened before sending a
query request from komorebic to komorebi. Additionally, I have taken
this opportunity to ensure that all socket files are created in
DATA_DIR.
fix #218
2022-09-18 08:30:09 -07:00
LGUG2Z
0903be7931
fix(cli): pass correct tcp flag to start cmd
2022-09-13 15:53:57 -07:00
dependabot[bot]
e78e6b1382
chore(deps): bump paste from 1.0.8 to 1.0.9
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.8...1.0.9 )
---
updated-dependencies:
- dependency-name: paste
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 13:13:24 -07:00
dependabot[bot]
adafa32488
chore(deps): bump sysinfo from 0.26.0 to 0.26.2
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.26.0 to 0.26.2.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 13:13:14 -07:00
dependabot[bot]
329b3052a4
chore(deps): bump clap from 3.2.17 to 3.2.20
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.2.17 to 3.2.20.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.20/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.17...v3.2.20 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 13:12:54 -07:00
dependabot[bot]
b25662fea2
chore(deps): bump which from 4.2.5 to 4.3.0
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.2.5 to 4.3.0.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.5...4.3.0 )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 13:12:34 -07:00
dependabot[bot]
edc9b0cd3d
chore(deps): bump serde_yaml from 0.9.10 to 0.9.11
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.10 to 0.9.11.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.10...0.9.11 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-09-05 13:12:01 -07:00
sitiom
a43eb8fbf5
docs(readme): add winget installation reference
2022-09-05 07:47:58 -07:00
Ryan Caezar Itang
8b0f1d007f
ci(windows): add winget releaser workflow
2022-08-30 12:46:06 -07:00
dependabot[bot]
83a502f199
chore(deps): bump sysinfo from 0.25.3 to 0.26.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.25.3 to 0.26.0.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Changelog](https://github.com/GuillaumeGomez/sysinfo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
---
updated-dependencies:
- dependency-name: sysinfo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-29 07:50:20 -07:00
LGUG2Z
5006aa9009
fix(wm): give focus priority to monocle containers
...
This commit ensures that monocle containers are given priority when
handling WindowManagerEvent::FocusChange.
This is especially important when switching workspaces to ensure that
the keyboard input focus stays with the monocle container's focused
window when returning to a workspace with a monocle container activated.
fix #219
2022-08-28 08:09:10 -07:00
LGUG2Z
e4a8117a94
docs(readme): add link to blog by omochice
2022-08-27 19:08:12 -07:00
LGUG2Z
748c389b34
chore(release): v0.1.13
v0.1.13
2022-08-27 15:12:23 -07:00
LGUG2Z
26a18adeb4
fix(wm): restore monocle border on ws change
...
This commit ensures that when navigating away from and then back to a
workspace with a monocle window container, that the monocle window
container will be properly focused when navigating back, including
having the focus of the active window border.
fix #219
2022-08-27 15:00:23 -07:00
LGUG2Z
5d094f601f
fix(wm): enforce valid hwnd check for border fns
...
This commit ensures that the active window border has non-zero HWND
before attempting to either hide it or set the border position. This is
required as the border is only initialized when a komorebic command is
received, meaning that the default value of 0 will never change if a
user decides to use komorebi without the active window border.
Most notably this commit fixes an issue where users who did not have the
active window border enabled would not be able to move away from an
empty workspace using a komorebic command.
fix #217
2022-08-27 14:56:47 -07:00
LGUG2Z
5a0ba4cdbb
fix(wm): detach thread inputs explicitly
...
This commit ensures that any calls to AttachThreadInput which are used
to allow the focusing or raising of a window are paired with a closing
call to detach the thread input.
Although undocumented, it seems that when attaching the input thread of
a window to an admin/sudo process, this prevents that window from
handling inputs from any unelevated processes (including regular
keyboard and mouse inputs), until the input thread is detached.
fix #86
2022-08-27 13:20:37 -07:00
LGUG2Z
7c41460b14
fix(wm): remove mstsc.exe from wsl2 ui proc list
...
This commit removes mstsc.exe from WSL2_UI_PROCESSES. Recent changes to
WSLg unfortunately mean that even with this exe being included in the
override list, WSLg windows once again no longer tile correctly. On top
of that, mstsc.exe is also used for traditional Windows RDP connections,
so leaving this in the override list results in ghost window tiles for
users connecting to other machines via RDP.
Users who wish to keep mstsc.exe included in WSL2_UI_PROCESSES are
welcome to maintain a fork of komorebi.
My official recommendation for users wishing to run Linux GUI
applications from WSL on Windows is to use VcXsrv, which is fully
compatible with komorebi, and generall just a very mature, stable, tried
and tested piece of software.
fix #216
2022-08-23 07:06:37 -07:00
dependabot[bot]
d34a561753
chore(deps): bump serde_json from 1.0.83 to 1.0.85
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.83 to 1.0.85.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.83...v1.0.85 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-22 11:57:57 -07:00
dependabot[bot]
04146a3ce9
chore(deps): bump serde_yaml from 0.9.9 to 0.9.10
...
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml ) from 0.9.9 to 0.9.10.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases )
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.9.9...0.9.10 )
---
updated-dependencies:
- dependency-name: serde_yaml
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-08-22 11:57:46 -07:00