LGUG2Z
09a24b89e5
feat(config): add cfgen for apps based on yaml def
...
This commit introduces a configuration generator for
application-specific config options passed to the cli via a file path.
The hope is to have a public repository that any user can contribute
application-specific configs and fixes to, and for the generated AHK to
be available to any new user as part of the initial setup to make the
onboarding as frictionless as possible.
re #62
2022-04-01 18:25:05 -07:00
LGUG2Z
4686d5e346
feat(wm): add cmd to id layered apps
...
Users on Discord noted that Microsoft Office applications were not being
handled correctly by the wm. After some investigation it was clear that
this was because the application windows had WS_EX_LAYERED set.
This had only been seen once before with Steam, and so a whitelist for
layered applications was previously added to the codebase with steam.exe
hard-coded, but this had not been exposed via the cli.
This commit adds a command to allow users to specify layered
applications which should be managed, and also renames the whitelist to
reflect that classes can also be used to identify applications on the
whitelist.
A section has been added to the README to guide Microsoft Office users
to guide Microsoft Office users in configuring komorebi to correctly
handle Office applications with Word given as an example.
This commit also renames the identify-border-overflow command to
identify-border-overflow-application for consistency, while retaining
the previous command as an alias to maintain compatibility with existing
user configurations.
It should be noted however, that those like me who are using the
generated komorebic AHK library, will have to update any AHK function
calls to use IdentifyBorderOverflowApplication().
resolve #124
2022-03-30 11:04:41 -07:00
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
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]
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
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
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
b2a34204c6
chore(release): v0.1.8
2022-01-27 11:10:29 -08:00
LGUG2Z
c62ddb3c42
chore(release): 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
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
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
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
dependabot[bot]
d0e46515c5
chore(deps): bump strum from 0.21.0 to 0.23.0
...
Bumps [strum](https://github.com/Peternator7/strum ) from 0.21.0 to 0.23.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 >
2021-12-01 11:51:31 -08:00
dependabot[bot]
e01bbd9f74
chore(deps): bump sysinfo from 0.20.5 to 0.21.1
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.20.5 to 0.21.1.
- [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 >
2021-12-01 09:00:33 -08:00
dependabot[bot]
be53ea2c24
chore(deps): bump syn from 1.0.81 to 1.0.82
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-01 09:00:16 -08:00
dependabot[bot]
d49279e888
chore(deps): bump getset from 0.1.1 to 0.1.2
...
Bumps [getset](https://github.com/Hoverbear/getset ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/Hoverbear/getset/releases )
- [Commits](https://github.com/Hoverbear/getset/compare/0.1.1...0.1.2 )
---
updated-dependencies:
- dependency-name: getset
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-01 09:00:05 -08:00
dependabot[bot]
daa2912945
chore(deps): bump serde_json from 1.0.71 to 1.0.72
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-01 08:59:36 -08:00
dependabot[bot]
2c515d54f7
chore(deps): bump miow from 0.3.7 to 0.4.0
...
Bumps [miow](https://github.com/yoshuawuyts/miow ) from 0.3.7 to 0.4.0.
- [Release notes](https://github.com/yoshuawuyts/miow/releases )
- [Changelog](https://github.com/yoshuawuyts/miow/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yoshuawuyts/miow/commits )
---
updated-dependencies:
- dependency-name: miow
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-01 08:59:18 -08:00
LGUG2Z
84ccfedad4
chore(deps): bump windows-rs from 0.26 to 0.28
2021-11-18 14:09:54 -08:00
LGUG2Z
adcb38fed9
chore(deps): bump windows-rs from 0.25 to 0.26
2021-11-15 12:49:51 -08:00
LGUG2Z
7f74640dbd
chore(deps): bump windows-rs and serde-json
2021-11-05 15:22:45 -07:00
LGUG2Z
4d7ccc5519
feat(wm): allow resize-axis for custom primary col
...
This commit allows the resize-axis cmd on Axis::Horizontal to operate on
the Primary column of a CustomLayout.
Note that this will only operate on a CustomLayout that has met the
window count threshold to enable the tertiary column. If it has not, the
layout will render as DefaultLayout::Columns, which does not support the
resize-axis cmd.
2021-11-03 10:04:51 -07:00