This Plugin is perfect for you if...
- ... you're in Starfleet
- ... you think the LCARS interface is the peak of human-computer interaction.
- ... you've accepted that the warp core will need to be ejected eventually.
- ... you consider red shirts a valid life insurance policy.
Preview
<img src="preview.png">Install
Use the Omarchy theme installer:
omarchy plugin add https://github.com/LioHeimberg/omarchy-stardate-plugin.git --enable
Remove
omarchy plugin remove io.github.lioheimberg.stardate
Infos
What it is: An Omarchy bar-widget that shows the current Star Trek stardate in the top bar, right next to the clock.
Recommended
I highly Recommend using this plugin with my Star Trek: LCARS Theme.
Features
- Live stardate, recomputed every minute
- Left-click copies the stardate to the clipboard
- Hover shows the matching Earth date and time
- Decimal places are configurable
How it works
The stardate uses the classic Andreas Schmidt (2002) formula, with base 1.1.2323 00:00 = Stardate 0:
earthdate = year + (dayOfYear + h/24 + m/1440 + s/86400) / daysInYear
stardate = 1000 × (earthdate − 2323)
Leap years count 366 days, so the stardate advances continuously across New Year's instead of resetting. Because of the 2323 base, current dates yield a negative stardate — that's correct per the original convention, not a bug.
Settings
Stardate is what you see: the label updates roughly every ~5 minutes with the default 2 decimal place. You can change decimals on the widget's entry in ~/.config/omarchy/shell.json:
{
"id": "io.github.lioheimberg.stardate",
"decimals": 2
}
decimals |
label visibly changes about every |
|---|---|
0 |
~9 hours |
1 |
~50 minutes |
2 (default) |
~5 minutes |
Requirements
A standard Omarchy/Quickshell bar. The click-to-copy action needs wl-clipboard (wl-copy), which Omarchy ships by default.
Notes
[!NOTE] This Plugin is currently in an early stage of development. Don't expect everything to work perfectly and look good yet.
- help me develop the theme and open pull requests with your suggestions!