Repository navigation
Find the last day of the journal in search - #144
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Typing
logsin search finds two rows:-p warning).Each opens
journalctl --since -24h -e -n all -b allin a floating terminal (TUI.float), at the newest line./searches andqcloses. The ids have nologsparent, so search finds them but no ring shows them. Your own menu file can still override them by id.-24hinstead of"24 hours ago", becauseomarchy-launch-tuisplits its arguments again.-n all -b allbecause-ealone keeps only the last 1000 lines of the current boot.mergenow takes any number of menus, soWheel.qmllayers defaults, lock designs, logs and the user's file in one call.Testing
tests/wheel-menu.js:logsfinds both rows and the home ring doesn't show them.tests/wheel_menu.py: menu reload expects the two log ids../tests/all.shpasses.