commit 5d7fd27f26f6a7466f07660f4d5efd4a4116923d
parent 8234ae978933f1028409928ef11129ee497fbf7d
Author: pyratebeard <root@pyratebeard.net>
Date: Fri, 5 Sep 2025 11:50:06 +0100
feat(herbstluftwm): use neovim for scratch pad
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/herbstluftwm/.local/bin/herbstluftwm-miniscratch b/herbstluftwm/.local/bin/herbstluftwm-miniscratch
@@ -28,7 +28,7 @@ init() {
# unminimize last window of a tag
# if the `my_minimized_age` attribute does not exist (i.e. the window has not been
# minimized with this script), use arbitrary order to unminimize
- LANG=en_US.UTF-8 urxvt -title scratchpad -cd /home/pyratebeard -e vim ~/.local/var/notes/scratch.md &
+ LANG=en_US.UTF-8 urxvt -title scratchpad -cd /home/pyratebeard -e nvim ~/.local/var/notes/scratch.md &
sleep 1
scratchclient=$(hc foreach CLIENT clients. and , echo CLIENT , sprintf ATTRSTR %c.title CLIENT substitute ATTRVALUE ATTRSTR echo ATTRVALUE | \
grep -B1 '^scratchpad$' | head -n1 | awk -F. '{print $NF}')