Espanso package to easy get dates like: today, yesterday, last Friday, 1-st day of last month, etc.
⭐️ Consider starring this package on GitHub — it helps!
✨ 👉 Check out my other espanso packages 👈 ✨
⚠️ To use this package, make sure you have installed
waiting for federico-terzi/espanso-hub#59 which is currently blocked due to espanso/espanso#563 (comment)
espanso install date-utilities
espanso restart
cd "$(espanso path config)/user"
git clone https://github.com/kopach/espanso-package-date-utilities.git
espanso restart
That's all. You can start using the package.
Keyword | Description |
---|---|
:d0 |
Today |
:d1 |
Tomorrow |
:d2 |
Day after tomorrow |
:d3 |
Three days from now |
:d4 |
Four days from now |
:d5 |
Five days from now |
:d6 |
Six days from now |
:d7 |
Week from now |
:d-1 |
Yesterday |
:d-2 |
Day before yesterday |
:d-3 |
Three days ago |
:d-4 |
Four days ago |
:d-5 |
Five days ago |
:d-6 |
Six days ago |
:d-7 |
Week ago |
:lsu |
Last Sunday |
:lmo |
Last Monday |
:ltu |
Last Tuesday |
:lwe |
Last Wednesday |
:lth |
Last Thursday |
:lfr |
Last Friday |
:lsa |
Last Saturday |
:nsu |
Next Sunday |
:nmo |
Next Monday |
:ntu |
Next Tuesday |
:nwe |
Next Wednesday |
:nth |
Next Thursday |
:nfr |
Next Friday |
:nsa |
Next Saturday |
:1dtm |
First day of this month |
:ldtm |
Last day of this month |
:1dnm |
First day of next month |
:ldnm |
Last day of next month |
:1dpm |
First day of previous month |
:ldpm |
Last day of previous month |
:motw |
Monday this week |
:tutw |
Tuesday this week |
:wetw |
Wednesday this week |
:thtw |
Thursday this week |
:frtw |
Friday this week |
:satw |
Saturday this week |
Please, feel free to contribute to this package on GitHub
- add time format variable, so user can change time format (blocked by espanso/espanso#693)
- add first day of week variable, so user can use date of Sunday of this/next/previous week (blocked by espanso/espanso#693)
Inspired by Past and Future Dates for Text Expander app
This espanso package licensed under the MIT