all repos

dotfiles @ 6d65679

i use rach linux btw
2 files changed, 5 insertions(+), 2 deletions(-)
bin: add refile and today scripts
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2025-01-02 23:26:39 +0200
Parent: 3437327
A bin/refile
···
                
                1
                +#!/usr/bin/env bash

              
                
                2
                +f="$HOME/org/refile.org"

              
                
                3
                +[ -f "$f" ] && exec $EDITOR "$f"

              
M bin/today
···
                1
                1
                 #!/usr/bin/env bash

              
                2
                
                -p=$HOME/Documents/Obsidian/journal

              
                
                2
                +p="$HOME/org/roam/daily"

              
                3
                3
                 d=$(date +%Y-%m-%d)

              
                4
                
                -[ -d "$p" ] && exec nvim "$p/$d.md"

              
                
                4
                +[ -d "$p" ] && exec $EDITOR "$p/$d.org"