Files
dotfiles/.local/bin/rofi-notes
T
venomade 4b8cc0b9a9 ZK, NVIM and Misc
Add ZK config, template and script.
Add various Neovim plugins, and some markdown specific settings.
Add Neovim aliases.
Fix 100% in alsa luastatus plugin.
2026-02-13 18:09:22 +00:00

10 lines
238 B
Bash
Executable File

#!/usr/bin/env sh
note_list=$(zk list -f "{{ title }}" -d $'\n' -q)
selected=$(printf "%s\n" "$note_list" | rofi -dmenu -i -p "󱞁 ")
if [[ -n $selected ]]; then
foot -a=floating_foot -e sh -c "zk edit --match \"${selected}\""
fi