aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;