cherry-pick of 1abb2210 from master, translated to hotfix-1.4.5
(omits ElevationShadow gating since shadow overhaul isn't on this
branch; gates existing MultiEffect-based shadows by BlurService.enabled
instead). Drops DoNotDisturbDetail.qml hunk since the file does not
exist on this branch.
* ci: change to prek for pre-commit
* refactor: fix shellcheck warnings for the scripts
* chore: unify whitespace formatting
* nix: add prek to dev shell