bismuth/.husky/pre-commit
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

12 lines
136 B
Bash
Executable File

#!/bin/sh
# SPDX-FileCopyrightText: none
#
# SPDX-License-Identifier: MIT
. "$(dirname "$0")/_/husky.sh"
npx lint-staged
reuse lint