LGUG2Z
31b8be1481
feat(wm): add cmd to id apps with odd launch event
...
A user on the Discord noted that PyCharm windows were not being managed
as expected when initially launched. After some digging this seems to be
the same issue that was addressed for IntelliJ and Firefox early on in
development, where these applications send EVENT_OBJECT_NAMECHANGE on
launch instead of the regular event when drawing a new window.
The OBJECT_NAME_CHANGE_ON_LAUNCH vec was not previously exposed via
komorebic to allow users to identify other applications that exhibit the
same behaviour. This commit adds a command to allow users to specify
further applications in their configuration files.
2022-03-28 10:08:34 -07:00
dependabot[bot]
634bc04d76
chore(deps): bump actions/cache from 2 to 3 ( #123 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-21 08:46:35 -07:00
LGUG2Z
3b30c10ebb
chore(deps): bump minor and patch versions with cargo update
2022-03-18 16:44:22 -07:00
LGUG2Z
3eade94032
chore(deps): bump windows-rs from 0.33 to 0.34
2022-03-18 16:43:31 -07:00
dependabot[bot]
e46f1f4f6d
chore(deps): bump actions/checkout from 2 to 3 ( #122 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 07:59:33 -08:00
dependabot[bot]
45ea630e6a
chore(deps): bump powershell_script from 0.2.1 to 0.3.2 ( #118 )
...
Bumps [powershell_script](https://github.com/cfsamson/powershell-script ) from 0.2.1 to 0.3.2.
- [Release notes](https://github.com/cfsamson/powershell-script/releases )
- [Commits](https://github.com/cfsamson/powershell-script/commits )
---
updated-dependencies:
- dependency-name: powershell_script
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: LGUG2Z <jadeiqbal@fastmail.com >
2022-03-03 17:24:52 -08:00
LGUG2Z
ed01bb674f
refactor(clap): fix deprecations
2022-03-03 16:25:57 -08:00
dependabot[bot]
a9534fa49c
chore(deps): bump clap from 3.0.14 to 3.1.3
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.14 to 3.1.3.
- [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.0.14...v3.1.3 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-03 16:25:57 -08:00
dependabot[bot]
d4c0c35f3a
chore(deps): bump windows from 0.32.0 to 0.33.0
...
Bumps [windows](https://github.com/microsoft/windows-rs ) from 0.32.0 to 0.33.0.
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.32.0...0.33.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-03-03 16:07:46 -08:00
dependabot[bot]
f6e0f5ab81
chore(deps): bump crossbeam-utils from 0.8.6 to 0.8.7
...
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam ) from 0.8.6 to 0.8.7.
- [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.6...crossbeam-utils-0.8.7 )
---
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-03-01 08:25:41 -08:00
dependabot[bot]
51139b9e0c
chore(deps): bump color-eyre from 0.6.0 to 0.6.1
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.6.0...v0.6.1 )
---
updated-dependencies:
- dependency-name: color-eyre
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-01 08:25:26 -08:00
dependabot[bot]
d7f1190152
chore(deps): bump strum from 0.23.0 to 0.24.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.23.0 to 0.24.0.
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/commits )
---
updated-dependencies:
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-01 08:10:15 -08:00
dependabot[bot]
b62d77501a
chore(deps): bump tracing-appender from 0.2.0 to 0.2.1
...
Bumps [tracing-appender](https://github.com/tokio-rs/tracing ) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-appender-0.2.0...tracing-appender-0.2.1 )
---
updated-dependencies:
- dependency-name: tracing-appender
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-01 08:09:43 -08:00
dependabot[bot]
7cb60ca7c5
chore(deps): bump sysinfo from 0.23.0 to 0.23.5
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.23.0 to 0.23.5.
- [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-03-01 08:09:28 -08:00
dependabot[bot]
43edf13bb2
chore(deps): bump serde_json from 1.0.78 to 1.0.79
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.78...v1.0.79 )
---
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-03-01 08:09:06 -08:00
LGUG2Z
cd894655db
refactor(clippy): impl as_ref on wm struct
2022-02-05 13:59:05 -08:00
LGUG2Z
02c54734fb
feat(wm): add send-to-monitor-workspace cmd
...
This commit adds a dedicated command to send a window container to a
specific workspace on a target monitor.
2022-02-05 13:42:16 -08:00
LGUG2Z
4a3f7ee34e
chore(deps): bump windows-rs from 0.30 to 0.32
2022-02-03 14:21:07 -08:00
LGUG2Z
2db0d888c1
feat(subscriptions): add cmd to gen json schema
...
This commit introduces the 'notification-schema' command to generate a
JSON schema of the Notification struct which gets sent when notifying
subscribers of updates.
2022-02-01 12:38:11 -08:00
LGUG2Z
cf5a41b5eb
chore(deps): cargo update
2022-02-01 10:13:50 -08:00
dependabot[bot]
e4ee298606
chore(deps): bump sysinfo from 0.22.5 to 0.23.0
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.22.5 to 0.23.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-02-01 08:41:24 -08:00
dependabot[bot]
38c0b25a1c
chore(deps): bump serde from 1.0.133 to 1.0.136
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.133 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.136 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 08:10:36 -08:00
dependabot[bot]
d1b6a63af5
chore(deps): bump color-eyre from 0.5.11 to 0.6.0
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.11 to 0.6.0.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.11...v0.6.0 )
---
updated-dependencies:
- dependency-name: color-eyre
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 08:10:23 -08:00
dependabot[bot]
c246b209c4
chore(deps): bump which from 4.2.2 to 4.2.4
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/harryfei/which-rs/releases )
- [Commits](https://github.com/harryfei/which-rs/compare/4.2.2...4.2.4 )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 08:06:39 -08:00
dependabot[bot]
a2e1b8c967
chore(deps): bump parking_lot from 0.11.2 to 0.12.0
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.2...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 07:59:09 -08:00
dependabot[bot]
cb387025d2
chore(deps): bump tracing-subscriber from 0.3.6 to 0.3.7
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.6...tracing-subscriber-0.3.7 )
---
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-02-01 07:58:13 -08:00
dependabot[bot]
6655d290f2
chore(deps): bump quote from 1.0.14 to 1.0.15
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.14...1.0.15 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 07:57:52 -08:00
dependabot[bot]
999f2ae2d4
chore(deps): bump clap from 3.0.8 to 3.0.13
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.8 to 3.0.13.
- [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.0.8...v3.0.13 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-01 07:57:39 -08:00
dependabot[bot]
cddc69d2bf
chore(deps): bump serde_json from 1.0.75 to 1.0.78
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.75 to 1.0.78.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.75...v1.0.78 )
---
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-02-01 07:57:18 -08:00
LGUG2Z
43b2366378
feat(config): allow users to define config dir
...
This commit introduces a change to allow users to set a custom
configuration directory for Komorebi to address concerns about $HOME
getting cluttered.
The custom directory can be set with the environment variable
$Env:KOMOREBI_CONFIG_HOME (this should probably be done in $PROFILE).
If this variable is not set, komorebi will default to using
the $HOME directory.
resolve #61
2022-01-28 09:35:42 -08:00
LGUG2Z
e67425f841
docs(readme): update scoop install instructions
2022-01-28 08:35:44 -08:00
LGUG2Z
b2a34204c6
chore(release): v0.1.8
v0.1.8
2022-01-27 11:10:29 -08:00
LGUG2Z
d18283969a
fix(scoop): allow duplicate shim process
...
This commit addresses issues that users have been faced with when
installing komorebi with scoop, which resulted in komorebi exiting
almost immediately without providing any feedback as to what had
happened.
Scoop launches komorebi using an exe shim of the same name, which
results in two komorebi.exe named processes running at the same time.
This situation then fails the startup check which attempts to ensure
that only one instance of komorebi.exe ever runs at any given time.
The process startup check has been updated to allow for two komorebi.exe
named processes to be running if one of them is recognised as a Scoop
shim process.
fix #95
2022-01-27 11:07:23 -08:00
LGUG2Z
0138a313c0
docs(readme): update discord invite link
2022-01-17 09:12:12 -08:00
LGUG2Z
c62ddb3c42
chore(release): v0.1.7
v0.1.7
2022-01-17 08:19:09 -08:00
LGUG2Z
87e8eb48a6
fix(wm): update state for any new float rules
...
This update ensures that whenever a new float rule is added, the focused
workspaces on all monitors will be checked to see if there are any
currently managed windows which match that rule. If so, the matching
window(s) will be removed from the workspace and the workspace will be
updated.
Matching windows on non-focused workspaces will not be removed, as these
windows may be hidden, and removing them could result in these windows
being inaccessible, requiring them to be killed before they can be
relaunched
fix #93
2022-01-17 08:13:56 -08:00
LGUG2Z
5f1356b3e2
docs(readme): update link to aik2's post
2022-01-14 08:17:09 -08:00
LGUG2Z
00df672352
chore(deps): bump heck from 0.3.3 to 0.4.0
2022-01-13 14:13:12 -08:00
dependabot[bot]
2b83ff8148
chore(deps): bump sysinfo from 0.21.2 to 0.22.4
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.21.2 to 0.22.4.
- [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-01-13 14:09:12 -08:00
LGUG2Z
749e247d85
chore(deps): bump windows-rs to 0.30
2022-01-13 14:08:43 -08:00
LGUG2Z
e70086b681
docs(readme): add links to articles, blogs etc
2022-01-11 07:37:39 -08:00
LGUG2Z
39685dd615
feat(wm): add cmd to move ws to other monitors
...
This commit adds a new komorebic command to move the entire focused
workspace and all managed windows and containers to a target monitor
index. Windows that have been excluded from management using various
rules will not be moved as they are not tracked in the window manager
state.
resolve #88
2022-01-07 08:52:18 -08:00
LGUG2Z
228ef78d7f
chore(deps): bump clap to 3.0.0
2021-12-31 15:19:14 -08:00
LGUG2Z
e2ae9b1207
chore(deps): bump clap to latest rc
2021-12-31 08:33:29 -08:00
LGUG2Z
5e3f1cbb44
fix(wm): send state errors to komorebic
...
This commit ensures that errors are sent to komorebic in response to the
state command if they occur, so that komorebic is not left hanging
indefinitely waiting for a successful response that will never come.
2021-12-06 16:43:22 -08:00
LGUG2Z
9fd4dbf044
fix(wm): handle empty vd reg values gracefully
...
This commit fixes a regression introduced in
85fe20ebba , where running komorebi before
creating and interacting with virtual desktops via the task view on
Windows 10 would cause komorebi to panic when it could not find the
CurrentVirtualDesktop key in the registry, as it only gets populated
after interacting with virtual desktops via the task view in a new
session.
2021-12-03 22:24:50 -08:00
LGUG2Z
9be248bc03
feat(wm): add cmd to focus ws on target monitor
...
This commit adds a new command which allows the focusing of workspaces
on monitors other than the currently focused monitor by specifying a
monitor index.
Sending this command to komorebi will make the target monitor index the
currently focused monitor.
resolve #85
2021-12-03 14:52:14 -08:00
LGUG2Z
85fe20ebba
refactor(wm): validate virtual desktops via reg
...
This commit refactors the validations that ensure that only commands and
events originating on the same virtual desktop that komorebi was started
on are managed.
This was previously handled by the winvd crate which relied on
undocumented APIs that broke as of Windows 11. This method, while not
very elegant, seems like the best solution for now.
In short, komorebi checks the registry (which has different paths on
Win10 and Win11...) to keep track of the current virtual desktop id.
This is problematic because we just end up comparing byte arrays, and
there is no meaningful representation of the ids that are being
compared, not even a GUID. Nevertheless, it works and it ensures that
komorebi is limited to operating on a single virtual desktop.
resolve #77
2021-12-02 18:44:44 -08:00
LGUG2Z
409d374b72
fix(wm): enforce virtual desktop validation
...
This commit fixes a regression introduced in
2e86b607b2
which broke virtual desktop id validation on Windows 10.
2021-12-02 15:59:09 -08:00
dependabot[bot]
1fb0a7cd6e
chore(deps): bump tracing-subscriber from 0.3.1 to 0.3.3
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.1 to 0.3.3.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.1...tracing-subscriber-0.3.3 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-01 11:51:46 -08:00