aboutsummaryrefslogtreecommitdiff
path: root/notepicker
diff options
context:
space:
mode:
authorJosh Ott <josh@ottmail.me>2025-09-07 20:43:39 -0400
committerJosh Ott <josh@ottmail.me>2025-09-07 20:43:39 -0400
commit1f14ca717b1828ff7288d905264dfb0b843abe60 (patch)
tree5832b976e4b195e89d5cac5dc193ff30fcbb8b14 /notepicker
parent4012ed8bc21b54b4a0898e2dfc7ff047582f9a62 (diff)
downloadbin-1f14ca717b1828ff7288d905264dfb0b843abe60.tar.gz
bin-1f14ca717b1828ff7288d905264dfb0b843abe60.zip
newest journal entries first
Diffstat (limited to 'notepicker')
-rwxr-xr-xnotepicker2
1 files changed, 1 insertions, 1 deletions
diff --git a/notepicker b/notepicker
index 7fcdafe..51e9562 100755
--- a/notepicker
+++ b/notepicker
@@ -13,7 +13,7 @@ opennote () {
journal () {
cd journal
SUFFIX=/journal
- choice=$(echo -e "New\n$(ls -1 *.md)" | rofi -dmenu -p "Entries") || exit 0
+ choice=$(echo -e "New\n$(ls -t1 *.md)" | rofi -dmenu -p "Entries") || exit 0
case $choice in
New) notefile=$(date +%F_%T.md | tr ':' '-'); opennote ;;