when I found the dmenu_notes idea on the "bread on Penguins" You Tube channel I thought it would be handy to have a way of sending notes to gopher... then I see she's also added a "rsync" feature which I've shamelessly borrowed: ==================================================================== #!/usr/bin/env bash folder=$HOME/notes/ newnote () { \ name="$(echo "" | dmenu -c -sb "#a3be8c" -nf "#d8dee9" -p "Enter a name: " <&-)" || exit 0 : "${name:=$(date +%F_%T | tr ':' '-')}" setsid -f "$TERMINAL" -e vim $folder$name".txt" >/dev/null 2>&1 } sync () { \ rsync -rtu ~/notes/* cloud:/srv/gopher/notes && notify-send "Notes sync completed" } selected () { \ choice=$(echo -e "Sync\nNew\n$(command ls -t1 $folder)" | dmenu -c -l 5 -i -p "Choose note or create new: ") case $choice in New) newnote ;; Sync) sync ;; *.txt) setsid -f "$TERMINAL" -e vim "$folder$choice" >/dev/null 2>&1 ;; *) exit ;; esac } selected ======================================================================= works ok - adding the note to a directory on the gopherhole "Notes" -- 2025-08-02