st

Simple Terminal by suckless.org (fork)
git clone git://git.ckyln.com/st.git
Log | Files | Refs | README | LICENSE

commit f2f641f1ba3b9b76d6416cbdd466aa1dc439ab0b
parent 67edadf3da9ee48d19298e19f9f6c9e3cf082283
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 26 Sep 2019 10:39:50 +0300

removed location of editstdout

Diffstat:
Mconfig.h | 12+-----------
1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/config.h b/config.h @@ -184,17 +184,7 @@ static MouseShortcut mshortcuts[] = { { Button5, XK_ANY_MOD, "\005" }, }; -static char *stdoutedit[] = { -/* - * "/bin/sh", - * "tmpfile=\"\$(mktemp /tmp/st-edit.XXXXXX)\"", - * "trap 'rm \"$tmpfile\"' 0 1 15", - * "cat > \"$tmpfile\"", - * "st -e \"$EDITOR\" \"$tmpfile\"" - */ - "/bin/sh", "-c", - "~/.scripts/editstdout" -}; +static char *stdoutedit[] = { "/bin/sh", "-c", "editstdout" }; static char *openurlcmd[] = { "/bin/sh", "-c", "sed 's/.*│//g' | tr -d '\n' | grep -aEo '(((http|https)://|www\\.)[a-zA-Z0-9.]*[:]?[a-zA-Z0-9./&%?=_-]*)|((magnet:\\?xt=urn:btih:)[a-zA-Z0-9]*)'| uniq | sed 's/^www./http:\\/\\/www\\./g' | dmenu -i -p 'Follow which url?' -l 10 | xargs -r xdg-open",