all repos — st @ 5d3318c0c734a1d65e78ed4ce103b4517be8ec3b

st (suckless terminal) config

Fixing title setting with the title argument.
Christoph Lohmann 20h@r-36.net
commit

5d3318c0c734a1d65e78ed4ce103b4517be8ec3b

parent

369734c80c6e5049d704a00f436c59ecf4dafae8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M st.cst.c

@@ -3639,7 +3639,7 @@ case 'e':

/* eat all remaining arguments */ if(argc > 1) { opt_cmd = &argv[1]; - if(argv[1] != NULL) { + if(argv[1] != NULL && opt_title == NULL) { titles = strdup(argv[1]); opt_title = basename(titles); }