#!/bin/sh -e # title="󰎞 Notes" # shellcheck source=configs/default_hooks/sxmo_hook_icons.sh . sxmo_hook_icons.sh DIR="${XDG_DATA_HOME:-$HOME/.local/share}/sxmo.notes" mkdir -p "$DIR" _listnotes() { ( cd "$DIR" && find ./ -maxdepth 1 ) | cut -d/ -f2- | grep . } while : ; do ENTRIES="$(cat <