style(macos): format the macOS code with the project's rustfmt settings

Pure formatting, no other change: nightly rustfmt --edition 2024 with
komorebi-for-mac/rustfmt.toml (imports_granularity = Item) over
komorebi-for-mac/**/*.rs and the macOS modules in the shared directories
komorebic/src/macos and komorebi-bar/src/macos. 11 files; the kfm fmt check
of the previous revision reported them. Windows and KDE code is not touched,
and the Windows source filter excludes those macos files, so no Windows or
KDE derivation changes.

Verified: the rustfmt --check command of the fmt check passes on the result
locally; nix eval of drvPath in a throwaway git copy: Windows deps and
clippy, kfde deps, clippy and vm stacks are identical before and after it.
This commit is contained in:
LGUG2Z committed 2026-11-05 15:03:26 -08:00
1 parent 081e373782
commit e95d146bae
11 files changed
+44 -38

No files matched your search

+4 -2
View File
@@ -278,9 +278,11 @@ pub fn main() -> eyre::Result<()> {
std::fs::create_dir_all(data_dir)?;
let mut komorebi_json =
include_str!("../../../komorebi-for-mac/docs/komorebi.example.json").to_string();
include_str!("../../../komorebi-for-mac/docs/komorebi.example.json")
.to_string();
let komorebi_bar_json =
include_str!("../../../komorebi-for-mac/docs/komorebi.bar.example.json").to_string();
include_str!("../../../komorebi-for-mac/docs/komorebi.bar.example.json")
.to_string();
if std::env::var("KOMOREBI_CONFIG_HOME").is_ok() {
komorebi_json =