29 lines
749 B
Markdown
29 lines
749 B
Markdown
## [most_recent_note](../../scripts/most_recent_note)
|
|
|
|
Opens the most recently created PDF note from the Google Drive notes folder.
|
|
|
|
## Description
|
|
|
|
This script finds the most recently modified PDF file in `~/Google Drive/My Drive/notes/pdf` and opens it with zathura PDF viewer.
|
|
|
|
## Dependencies
|
|
|
|
- zathura (PDF viewer)
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
./most_recent_note.sh
|
|
```
|
|
|
|
## How It Works
|
|
|
|
1. Searches for all PDF files in `~/Google Drive/My Drive/notes/pdf`
|
|
2. Sorts them by modification time (newest first)
|
|
3. Opens the most recent PDF with zathura
|
|
|
|
## Notes
|
|
|
|
- Requires Google Drive to be synced to the local machine
|
|
- Assumes notes are stored in the specific path: `~/Google Drive/My Drive/notes/pdf`
|
|
- zathura must be installed and available in PATH
|