Patch the example config file to use /bin/ksh instead of bash.

Remove RDEP on shells/bash.
Set default background so that the terminal cursor is visible.
This commit is contained in:
matthieu
2023-12-09 22:00:43 +00:00
parent 75ca4c4063
commit 1182eb9b44
3 changed files with 18 additions and 2 deletions
+1 -2
View File
@@ -3,6 +3,7 @@ COMMENT = minimal terminal emulator for wayland
GH_ACCOUNT = ii8
GH_PROJECT = havoc
GH_TAGNAME = 0.4.0
REVISION = 0
CATEGORIES = wayland
HOMEPAGE = https://github.com/ii8/havoc
@@ -21,8 +22,6 @@ LIB_DEPENDS = devel/epoll-shim \
wayland/wayland \
x11/xkbcommon
RUN_DEPENDS = shells/bash
ALL_TARGET =
post-install:
+8
View File
@@ -1,6 +1,14 @@
Index: havoc.cfg
--- havoc.cfg.orig
+++ havoc.cfg
@@ -1,6 +1,6 @@
[child]
# program to run in child process
-program=bash
+program=/bin/ksh
[window]
# opacity of background from 0 (fully transparent) to 255 (fully opaque)
@@ -11,7 +11,7 @@ margin=no
[terminal]
+9
View File
@@ -15,6 +15,15 @@ Index: main.c
#include <xkbcommon/xkbcommon-compose.h>
#include <wayland-client-core.h>
@@ -182,7 +188,7 @@ static struct {
[TSM_COLOR_LIGHT_CYAN] = { 0, 255, 255 },
[TSM_COLOR_WHITE] = { 255, 255, 255 },
[TSM_COLOR_FOREGROUND] = { 229, 229, 229 },
- [TSM_COLOR_BACKGROUND] = { 0, 0, 0 },
+ [TSM_COLOR_BACKGROUND] = { 0, 0, 1 },
},
.opt.app_id = "havoc"
};
@@ -191,7 +197,7 @@ static void wcb(struct tsm_vte *vte, const char *u8, s
{
assert(len <= PIPE_BUF);