From 62e9b4b53d6835fd236a73c0bd4f5cd2772d9cda Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 17 Nov 2023 13:25:58 -0700 Subject: [PATCH] Fix tofi path --- tofi/tofi-snippets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tofi/tofi-snippets.sh b/tofi/tofi-snippets.sh index 4f432b5..68abac6 100755 --- a/tofi/tofi-snippets.sh +++ b/tofi/tofi-snippets.sh @@ -6,4 +6,4 @@ cd ${HOME}/.private-scripts/snippets HEIGHT=$(swaymsg -t get_outputs | tr '\n' ' ' | sed -e 's/ */ /g' | sed -e 's/\(.*"focused": [a-z]*\),/\1\n/' | less | grep '"focused": true' | sed -e 's/.*"rect": {[^}]*"height": \([0-9]*\).*/\1/') -cat $(find ./ -type f | sed -E 's/\.\///' | tofi --prompt-text 'Snippets: ' --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml) | wl-copy -p +cat $(find ./ -type f | sed -E 's/\.\///' | ${HOME}/.local/bin/tofi --prompt-text 'Snippets: ' --height $HEIGHT --config ${HOME}/.dotfiles/tofi/sidebar.toml) | wl-copy -p