diff --git a/shell/aliasrc b/shell/aliasrc index d505cb0..7ecccf2 100644 --- a/shell/aliasrc +++ b/shell/aliasrc @@ -30,6 +30,7 @@ alias \ # Command shortcuts alias \ mgr-all="mgr pacman_upgrade apt_upgrade flatpak_update distrobox_update pip_update configs passmgr" \ + cal='printf "\033[1m\033[34m=== %s ===\033[0m\n%s" "$(date -I)" "$(calcurse -a -t)"' \ df-short="df -h | grep -v '\s/dev.*$\|\s/run.*$\|\s/boot.*$'" \ wacom-setup-menu="wacom-setup menu" \ swayimg="swayimg -s fit -w 000000 -m" \ diff --git a/shell/functions b/shell/functions index 03c9a9f..2ceb8ec 100644 --- a/shell/functions +++ b/shell/functions @@ -11,7 +11,7 @@ opt=$(fzf --layout=reverse-list --cycle --preview 'p {}' --height=50% --border t note() { NOTES_DIR="$HOME/Nextcloud/Notes" # Just edit today's note if no argument is given -[ -z "$1" ] && cd "$NOTES_DIR" && "$EDITOR" "daily-notes/note-$DATE.md" +[ -z "$1" ] && cd "$NOTES_DIR" && "$EDITOR" "note-$DATE.md" [ -e "$NOTES_DIR/daily-notes/note-$DATE.md" ] && printf "\n\033[1m\033[35mNote of the day:\033[0m \033[2mdaily-notes/\033[0mnote-$DATE.md\n" # 'list' arg will list notes either with fzf or regular ls