mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-02-25 06:34:57 +01:00
This commit uses a more reliable Win32 API call to determine the scaling factor / DPI of user monitors, so that the scale of a window can be correctly adjusted when moved between monitors with different DPI settings. fix #622
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
|
|
export RUST_BACKTRACE := "full"
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
fmt:
|
|
cargo +nightly fmt
|
|
cargo +stable clippy
|
|
prettier --write README.md
|
|
prettier --write .goreleaser.yml
|
|
prettier --write .github/dependabot.yml
|
|
prettier --write .github/FUNDING.yml
|
|
prettier --write .github/workflows/windows.yaml
|
|
|
|
install-target target:
|
|
cargo +stable install --path {{ target }} --locked
|
|
|
|
prepare:
|
|
komorebic ahk-asc '~/.config/komorebi/applications.yaml'
|
|
komorebic pwsh-asc '~/.config/komorebi/applications.yaml'
|
|
cat '~/.config/komorebi/komorebi.generated.ps1' >komorebi.generated.ps1
|
|
cat '~/.config/komorebi/komorebi.generated.ahk' >komorebi.generated.ahk
|
|
|
|
install:
|
|
just install-target komorebic
|
|
just install-target komorebic-no-console
|
|
just install-target komorebi
|
|
|
|
run:
|
|
just install-target komorebic
|
|
cargo +stable run --bin komorebi --locked
|
|
|
|
warn $RUST_LOG="warn":
|
|
just run
|
|
|
|
info $RUST_LOG="info":
|
|
just run
|
|
|
|
debug $RUST_LOG="debug":
|
|
just run
|
|
|
|
trace $RUST_LOG="trace":
|
|
just run
|
|
|
|
deadlock $RUST_LOG="trace":
|
|
just install-komorebic
|
|
cargo +stable run --bin komorebi --locked --features deadlock_detection
|