Skip to content

Find the last day of the journal in search - #144

Merged
Xpond merged 2 commits into
mainfrom
search-logs
Dec 2, 2026
Merged

Xpond merged 2 commits into
mainfrom
search-logs

Conversation

@Xpond

@Xpond Xpond commented Dec 2, 2026 •

Copy link
Copy Markdown
Owner

Typing logs in search finds two rows:

  • Logs: every journal line from the last 24 hours.
  • Log Warnings: only warnings and errors (-p warning).

Each opens journalctl --since -24h -e -n all -b all in a floating terminal (TUI.float), at the newest line. / searches and q closes. The ids have no logs parent, so search finds them but no ring shows them. Your own menu file can still override them by id.

-24h instead of "24 hours ago", because omarchy-launch-tui splits its arguments again. -n all -b all because -e alone keeps only the last 1000 lines of the current boot.

merge now takes any number of menus, so Wheel.qml layers defaults, lock designs, logs and the user's file in one call.

Testing

  • tests/wheel-menu.js: logs finds both rows and the home ring doesn't show them.
  • tests/wheel_menu.py: menu reload expects the two log ids.
  • ./tests/all.sh passes.
  • Opened both rows live: each opens a floating 875×600 terminal at the end of the journal.

Xpond added 2 commits December 2, 2026 12:18
Typing logs finds two rows: every journal line from the last 24 hours, or only warnings and errors. Each opens in a floating terminal at the newest line. They have no parent menu, so no ring shows them.
@Xpond
Xpond merged commit 0140762 into main Dec 2, 2026
2 checks passed
@Xpond
Xpond deleted the search-logs branch December 2, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant