by @cush
End of Day
Saves every open editor, commits the day's work-in-progress, pushes, and shuts down.
- key⌃S
- waitwait 0.5s
- shellgit
- notify🌙 Pushed and signed off
Readme
Why this exists
You shouldn't have to remember to push your day's work. This workflow captures the "I'm done" ritual: save every dirty file in your editor, commit anything uncommitted under a "WIP" message, push to the remote, then close everything down.
Caveats
- Assumes a single git repo at the active terminal's CWD. If you switch contexts mid-day, the commit lands in whichever repo your terminal was in when you fired the chord.
- The
Ctrl+Ssave assumes your editor honors it for "save all" — VS Code does. For Vim users, swap the key step for:wa<CR>. - The push uses
git pushwith no flags — set up a default upstream on every branch you want this to work on.
KDL source
// End of day — by @cush
workflow "End of Day" {
subtitle "Save, commit any WIP, push, log out."
trigger {
chord "super+alt+e"
}
key "Ctrl+s"
wait 0.5
shell "git add -A && git commit -m 'wip' --allow-empty && git push"
notify "🌙 Pushed and signed off"
}