* Add Live Activities as configurable bar items * Fix activity owner monitoring and Morph list interactions * Keep activity rows stable during updates and tighten their layout * Use subtle theme tint for activity cards * Tighten activity title and progress spacing * Use theme accent for active progress rings * Fit compact activities to measured titles and badge * Expose Live Activities display controls in Settings * Open activity terminals and streamline the Morph header * Give Morph continuous icons and prioritize workspace navigation * Show activity progress inside its ring * Inset activity progress rings and strengthen their stroke * Fix activity lifecycle, command output handling and list navigation * Reduce activity update work and harden publisher lifetimes * Set up Live Activities for the detected user shell during installation * Document Activities setup, daily use and troubleshooting * Preserve Morph idle width across empty activity updates * Fix dimming flicker, hide inactive music tab and consolidate Activities docs * Fix panel clearance across styles and match previews to theme settings * Prevent panel blur from repainting neighboring islands --------- Co-authored-by: Samuel Onoja <[email protected]>
61 lines
1.6 KiB
KDL
61 lines
1.6 KiB
KDL
// Built-in rules. A same-named user rule replaces the complete definition.
|
|
activities {
|
|
sources { shell-hook #false; process-watch #false; notification-bridge #false; }
|
|
rule cargo {
|
|
match #"^cargo (build|check|test|run|clippy)\b"#
|
|
title "cargo {1}"
|
|
icon hammer
|
|
priority 100
|
|
progress indeterminate
|
|
min-duration-ms 1500
|
|
ignore-parents rust-analyzer
|
|
dedupe-by cwd
|
|
flash-on-fail #true
|
|
result ok=Finished fail="Command failed"
|
|
}
|
|
rule npm {
|
|
match #"^(npm|pnpm) (install|build|test|run)\b"#
|
|
title "{1} {2}"
|
|
icon hammer
|
|
priority 100
|
|
progress indeterminate
|
|
min-duration-ms 1500
|
|
dedupe-by cwd
|
|
flash-on-fail #true
|
|
result ok=Finished fail="Command failed"
|
|
}
|
|
rule make {
|
|
match #"^make(?:\s|$)"#
|
|
title Make
|
|
icon hammer
|
|
priority 100
|
|
progress indeterminate
|
|
min-duration-ms 300
|
|
dedupe-by cwd
|
|
flash-on-fail #true
|
|
result ok=Built fail="Command failed"
|
|
}
|
|
rule git-push {
|
|
match #"^git push(?:\s|$)"#
|
|
title "Git push"
|
|
icon hammer
|
|
priority 100
|
|
progress indeterminate
|
|
min-duration-ms 300
|
|
dedupe-by cwd
|
|
flash-on-fail #true
|
|
result ok=Pushed fail="Command failed"
|
|
}
|
|
rule docker-build {
|
|
match #"^docker build(?:\s|$)"#
|
|
title "Docker build"
|
|
icon hammer
|
|
priority 100
|
|
progress indeterminate
|
|
min-duration-ms 1500
|
|
dedupe-by cwd
|
|
flash-on-fail #true
|
|
result ok="Image built" fail="Command failed"
|
|
}
|
|
}
|