commit 093c77c35052700420ec16fccf740f8b53877150
parent 16d7dc2f2f0cb1cf3926b9d9eefb15cbebd71394
Author: pyratebeard <root@pyratebeard.net>
Date: Thu, 16 Jan 2025 20:57:59 +0000
fix(herbstluft): scratchpad path
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/tmp/scratch &
+ LANG=en_US.UTF-8 urxvt -title scratchpad -cd /home/pyratebeard -e vim ~/.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}')