Commit Graph

5 Commits

Author SHA1 Message Date
Derek Stevens
5e262141a1
fix: 🐛 Monocle Layout "minimize unfocused windows" fixes and improvements
## Summary

Fixes Monocle Layout with `Minimize Unfocused Windows` (internally `config.monocleMinimizeRest`) option enabled.

Restores previous functionality (before Wayland patches) and adds
* minimize inactive windows only on same monitor with multimonitor setup
* can switch windows with focus-changing `Actions`
* switches to the next window when closing the active window (still a little buggy in multimonitor, but a big improvment)
* handles moving window onto a `Surface` with this layout properly

## UI Changes

Removed "(WIP)" from "Minimize unfocused windows" option in the config UI.

## Test Plan

1. Reload script
2. Verify all behavior in the Summary

## Related Issues

Closes #43, #55
2021-09-30 14:47:14 +03:00
Mikhail Zolotukhin
813972b285 build: remove test pre-commit hook because it is slow 2021-09-09 00:16:48 +03:00
Mikhail Zolotukhin
4713d458af feat: add reuse tool precommit hook 2021-09-04 20:33:52 +03:00
Mikhail Zolotukhin
8a439bb41b feat: add prettier pre-commit hook 2021-09-04 20:33:52 +03:00
Mikhail Zolotukhin
3e7f3d39b5 feat: add basic husky hook 2021-09-04 20:33:52 +03:00