dependabot[bot]
8e9d63cd36
chore(deps): bump proc-macro2 from 1.0.69 to 1.0.70
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.69...1.0.70 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 17:59:04 -08:00
dependabot[bot]
a673c69744
chore(deps): bump sysinfo from 0.29.10 to 0.29.11
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.29.10 to 0.29.11.
- [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 >
2023-11-28 17:58:55 -08:00
dependabot[bot]
c0b65677a2
chore(deps): bump serde from 1.0.192 to 1.0.193
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.192 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.192...v1.0.193 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 17:58:45 -08:00
dependabot[bot]
0cf7147e39
chore(deps): bump openssl from 0.10.59 to 0.10.60
...
Bumps [openssl](https://github.com/sfackler/rust-openssl ) from 0.10.59 to 0.10.60.
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.59...openssl-v0.10.60 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-28 17:31:19 -08:00
amrbashir
b39e65642b
refactor(rust): cleanup path handling
...
- Avoids unnecessary string allocation when tracing paths
- Replaces `mut path & path.push()` with `path.join()`
- Avoids unncessary cloning of paths where applicable
- Use `dunce` crate to remove `UNC` prefix
- Improve performance of resolving `~` by avoiding unnecessary string allocations
- Resolve `~`, `$Env:USERPROFILE` and `$HOME` consistenly between different code paths
- Use `PathBuf` instead of `String` for paths in CLI args
I may have missed a couple of places but I think I covered 90% of path handling in the codebase
2023-11-26 15:25:43 -08:00
LGUG2Z
a68f3843b7
feat(cli): add ffm flag to enable-autostart
...
The user dumbhighrank mentioned on Discord that it was not possible to
call enable-autostart with the --ffm flag, as one might expect to be
able to do, given that it is accepted by the start command. This commit
introduces the --ffm flag for the enable-autostart command.
2023-11-24 14:40:51 -08:00
dependabot[bot]
b3e989c6c7
chore(deps): bump winreg from 0.51.0 to 0.52.0
...
Bumps [winreg](https://github.com/gentoo90/winreg-rs ) from 0.51.0 to 0.52.0.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases )
- [Changelog](https://github.com/gentoo90/winreg-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gentoo90/winreg-rs/compare/v0.51.0...v0.52.0 )
---
updated-dependencies:
- dependency-name: winreg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-22 21:39:52 -08:00
dependabot[bot]
4534a1511e
chore(deps): bump tracing-appender from 0.2.2 to 0.2.3
...
Bumps [tracing-appender](https://github.com/tokio-rs/tracing ) from 0.2.2 to 0.2.3.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-appender-0.2.2...tracing-appender-0.2.3 )
---
updated-dependencies:
- dependency-name: tracing-appender
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-22 21:39:44 -08:00
dependabot[bot]
1f87e3acd2
chore(deps): bump tracing-subscriber from 0.3.17 to 0.3.18
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.17...tracing-subscriber-0.3.18 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-22 21:39:34 -08:00
LGUG2Z
f67d0c7b9b
docs(readme): update donations with link to pcrf
2023-11-22 21:36:49 -08:00
LGUG2Z
aa0277d58c
feat(cli): add quickstart cmd
...
This commit adds a new komorebic quickstart command to handle the
downloading of example configuration files, which is currently done
manually by the user if they are following the quickstart guide on the
README.
re #585
2023-11-19 17:40:51 -08:00
LGUG2Z
42ac13e0bd
feat(config): autopopulate matcher for exes
...
This commit updates the fmt-asc command to automatically populate unset
matching strategies for Exe matching rules to be "Equals"
2023-11-17 17:56:28 -08:00
LGUG2Z
2a1d87d41b
fix(cli): pick up static cfg in check cmd
2023-11-16 15:12:08 -08:00
LGUG2Z
0d1595e543
feat(cli): add focused ws padding cmds
...
This commit adds dedicated komorebic commands for setting the padding
values of the focused workspace and containers.
re #570
2023-11-16 15:05:14 -08:00
LGUG2Z
4283dfb0ba
chore(deps): bump windows crates from 0.51 to 0.52
2023-11-16 14:40:27 -08:00
dependabot[bot]
2a6aa09b07
chore(deps): bump schemars from 0.8.15 to 0.8.16
...
Bumps [schemars](https://github.com/GREsau/schemars ) from 0.8.15 to 0.8.16.
- [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.15...v0.8.16 )
---
updated-dependencies:
- dependency-name: schemars
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-13 08:15:48 -08:00
LGUG2Z
8c6bd13511
fix(ahk): override derive-ahk output for stop cmd
...
This commit adds a last-second override the string output of the
derive-ahk proc macro for the stop command, which unfortunately ends up
in a broken state in komorebic.lib.ahk with the addition of a 'whkd'
flag in v0.1.19.
fix #578
2023-11-12 18:20:12 -08:00
LGUG2Z
ef61239580
chore(release): v0.1.19
v0.1.19
2023-11-10 16:23:53 -08:00
LGUG2Z
96bf37b98d
fix(config): disable tiling for ws without layouts
...
This commit ensures that when a layout or a custom layout is not defined
for a workspace in the static configuration file, Workspace.tile will be
set to false. Thanks to M. Kichel on Discord for pointing out the need
for this!
2023-11-10 12:47:21 -08:00
LGUG2Z
5fd90d222d
fix(docs): quote $env:userprofile in quickstart to handle spaces
2023-11-08 07:58:25 -08:00
dependabot[bot]
6ffdc1e90e
chore(deps): bump which from 4.4.2 to 5.0.0
...
Bumps [which](https://github.com/harryfei/which-rs ) from 4.4.2 to 5.0.0.
- [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/harryfei/which-rs/commits )
---
updated-dependencies:
- dependency-name: which
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-06 11:11:35 -08:00
LGUG2Z
2595fa601f
fix(config): typo in layered app id loading
2023-11-04 12:08:36 -07:00
LGUG2Z
41cd5ec222
chore(deps): cargo update
2023-11-03 09:46:37 -07:00
dependabot[bot]
e75ab17602
chore(deps): bump serde from 1.0.188 to 1.0.190
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.188 to 1.0.190.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.190 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-03 09:29:18 -07:00
dependabot[bot]
79dfa45ec4
chore(deps): bump clap from 4.4.6 to 4.4.7
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.6 to 4.4.7.
- [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.4.6...v4.4.7 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-11-03 09:29:09 -07:00
dependabot[bot]
8771aab3f3
chore(deps): bump quote from 1.0.30 to 1.0.33 ( #573 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.30 to 1.0.33.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.30...1.0.33 )
---
updated-dependencies:
- dependency-name: quote
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-03 09:28:47 -07:00
LGUG2Z
f659deb5e3
fix(wm): correct border overflow handling logic
...
This commit fixes a regression introduced in the regex rule matching
refactor.
Invisible borders should be removed from applications that are not
identified as border overflow applications, not vice versa.
This is because applications that are overflowing their borders
effectively erase the invisible borders, while applications that are not
overflowing their borders leave the system's invisible borders
visibility intact.
It is this latter group that we should be targeting with the
should_remove_border variable.
2023-11-03 09:24:43 -07:00
Kushashwa Ravi Shrimali
e9fb9297e9
feat(cli): add cycle-layout command ( #556 )
...
* Command to ToggleLayout
* Just improve logic of figuring out next layout
* Addr review: rename to "Cycle" instead of toggle, and add a small comment
* As per review comments, implement cycle method on DefaultLayout
* I forgot to remove this, my bad
* feat(cli): fixups for cycle-layout cmd
* Update komorebic/src/main.rs
Co-authored-by: Kushashwa Ravi Shrimali <kushashwaravishrimali@gmail.com >
---------
Co-authored-by: LGUG2Z <jadeiqbal@fastmail.com >
Co-authored-by: جاد <LGUG2Z@users.noreply.github.com >
2023-10-26 21:19:24 -07:00
جاد
557d1962a7
Merge pull request #565 from LGUG2Z/dependabot/cargo/proc-macro2-1.0.69
...
chore(deps): bump proc-macro2 from 1.0.64 to 1.0.69
2023-10-26 16:00:56 -07:00
جاد
d7991d2087
Merge pull request #566 from LGUG2Z/dependabot/cargo/serde_json-1.0.107
...
chore(deps): bump serde_json from 1.0.103 to 1.0.107
2023-10-26 15:58:33 -07:00
جاد
5606f1c5c4
Merge pull request #567 from LGUG2Z/dependabot/cargo/ctrlc-3.4.1
...
chore(deps): bump ctrlc from 3.4.0 to 3.4.1
2023-10-26 15:58:17 -07:00
dependabot[bot]
41a627e7dd
chore(deps): bump ctrlc from 3.4.0 to 3.4.1
...
Bumps [ctrlc](https://github.com/Detegr/rust-ctrlc ) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/Detegr/rust-ctrlc/releases )
- [Commits](https://github.com/Detegr/rust-ctrlc/compare/3.4.0...3.4.1 )
---
updated-dependencies:
- dependency-name: ctrlc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:25:46 +00:00
dependabot[bot]
2b49ade205
chore(deps): bump serde_json from 1.0.103 to 1.0.107
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.103 to 1.0.107.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.103...v1.0.107 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:25:38 +00:00
dependabot[bot]
a0bebc7be8
chore(deps): bump proc-macro2 from 1.0.64 to 1.0.69
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.64 to 1.0.69.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.64...1.0.69 )
---
updated-dependencies:
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-23 14:25:29 +00:00
جاد
038256de6b
fix(docs): typo whkrc -> whkdrc
2023-10-22 17:34:56 -07:00
sitiom
8c30b894fe
ci(winget): change Winget Releaser job to ubuntu-latest ( #518 )
2023-10-22 10:58:33 -07:00
LGUG2Z
fce86397a5
feat(cli): add autostart commands
...
This commit introduce two new commands, enable-autostart and
disable-autostart, to help create shortcuts for users in shell:startup
to automatically start komorebi after logging in.
2023-10-22 10:57:05 -07:00
dependabot[bot]
f55b10caa0
chore(deps): bump sysinfo from 0.29.9 to 0.29.10 ( #561 )
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.29.9 to 0.29.10.
- [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 >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:24:45 -07:00
dependabot[bot]
ce9d23e72e
chore(deps): bump tracing from 0.1.37 to 0.1.39 ( #562 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.37 to 0.1.39.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:24:33 -07:00
dependabot[bot]
d79e54fad8
chore(deps): bump rustix from 0.37.23 to 0.37.25 ( #563 )
...
Bumps [rustix](https://github.com/bytecodealliance/rustix ) from 0.37.23 to 0.37.25.
- [Release notes](https://github.com/bytecodealliance/rustix/releases )
- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.37.23...v0.37.25 )
---
updated-dependencies:
- dependency-name: rustix
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 08:10:44 -07:00
dependabot[bot]
a15c769bfc
chore(deps): bump reqwest from 0.11.18 to 0.11.22 ( #559 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.18 to 0.11.22.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.22 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 08:58:59 -07:00
dependabot[bot]
89aa0387d7
chore(deps): bump winreg from 0.50.0 to 0.51.0 ( #558 )
...
Bumps [winreg](https://github.com/gentoo90/winreg-rs ) from 0.50.0 to 0.51.0.
- [Release notes](https://github.com/gentoo90/winreg-rs/releases )
- [Changelog](https://github.com/gentoo90/winreg-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gentoo90/winreg-rs/compare/v0.50.0...v0.51.0 )
---
updated-dependencies:
- dependency-name: winreg
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>
2023-10-09 08:20:04 -07:00
LGUG2Z
1e23a11b94
docs(readme): update badges
2023-10-08 11:11:03 -07:00
Artemiy
e5a8146927
feat(wm): ultrawide layout resizing ( #545 )
...
* Allow different resize constraints for layouts
Change Workspace::enforce_resize_constraints to enforce constraints differently for different layouts
Add enforce_no_resize method for all but bsp layout resize_dimensions
* Add resize constraints for UltrawideVerticalStack layout
Add Workspace::enforce_resize_for_ultrawide method to apply resize
constraints for ultrawide vertical stack layout.
* feat(wm): Use resize_dimensions in calculate for ultrawide layout
Add function calculate_ultrawide_adjustment to calculate adjustments for
individual containers in ultrawide vertical stack layout
Refactor ultrawide layout generation in separate function and use
calculated adjustments
* feat(wm): Enable ultrawide layout in DefaultLayout::resize
* feat(wm): refactor ultrawide resize calculation
Add some helper function and descriptive variable names in calculate_ultrawide_adjustment
Apply clippy lints
2023-10-06 17:33:37 -07:00
LGUG2Z
b048e7c3aa
feat(rules): implement all matching strategies
...
This commit ensures that matching strategies can be used wherever
IdWithIdentifier is used, and that they are respected for users opting
to use the static configuration file format.
Some thought and planning needs to go into how this can be backported to
dynamic configurations via the CLI without breaking existing user
configurations.
re #60
2023-10-06 12:14:58 -07:00
dependabot[bot]
3ff3961381
chore(deps): bump clap from 4.4.2 to 4.4.6
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.4.2 to 4.4.6.
- [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/clap_complete-v4.4.2...v4.4.6 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-02 08:10:15 -07:00
LGUG2Z
0797316ee6
feat(rules): add explicit matching strategies
...
This commit is the first in a series of commits which will pave the way
for regex rule matching support in komorebi.
For now, in order to maintain backwards compat and not break anything,
all rules without a matching strategy will get assigned as using the
"Legacy" strategy.
This and the "Equals" strategy are the only two which have been
implemented so far.
There should not be any breaking changes in this commit, not any
functionality lost for users with pre-existing configurations.
re #60
2023-09-22 15:05:20 -07:00
LGUG2Z
57cc02f083
fix(config): align border opts in st/dyn configs
...
This commit aligns the border option naming and arguments between the
dynamic and static configuration approaches.
The previously named border_width and border_offset options in the
static config will be replaced by active_window_border_width and
active_window_border_offset in v0.1.19.
Similarly the option for the offset will now take a single signed
integer, as it does when using the komorebic command.
re #526
2023-09-21 12:32:30 -07:00
LGUG2Z
45912745d6
chore(deps): bump windows crates from 0.48 to 0.51
2023-09-12 09:55:09 -07:00
dependabot[bot]
0088ca8cdb
chore(deps): bump serde from 1.0.185 to 1.0.188
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.185 to 1.0.188.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.188 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-11 16:36:59 -07:00