Add ate terminal as submodule

Is compiled at run time using TinyCC.
This commit is contained in:
Érico Rolim 2020-05-10 23:17:24 -03:00
parent b92e57d941
commit 3fccc586b6
5 changed files with 22 additions and 3 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "nvim/.config/nvim/pack/plugins/start/vim-airline"]
path = nvim/.config/nvim/pack/plugins/start/vim-airline
url = https://github.com/vim-airline/vim-airline.git
[submodule "ate/.local/share/ate"]
path = ate/.local/share/ate
url = git@github.com:ericonr/ate.git

3
ate/.local/bin/ate Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
exec tcc $(pkg-config --cflags --libs gtk+-3.0 vte-2.91) -run ~/.local/share/ate/main.c "$@"

3
ate/.local/bin/ate-config Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
exec ${EDITOR:-nvim} ~/.local/share/ate/config.default.h

1
ate/.local/share/ate Submodule

@ -0,0 +1 @@
Subproject commit 49846b79606a3b69f3ca5c98d4776ef34a76dcf8

View File

@ -9,8 +9,7 @@
# install script for Void based systems
function base () {
xbps-install \
function base () { xbps-install \
binutils \
cryptsetup \
chrony \
@ -252,8 +251,18 @@ function kicad_desc () {
echo "Install KiCad EDA and its resource packages."
}
function ate () {
xbps-install \
tcc \
gtk+3-devel \
vte3-devel
}
function ate_desc () {
echo "Install the packages necessary to use ate compiled by TCC."
}
MOST_PACKAGES="base term intel fonts themes wm audio media dev qt5 mozzila pdf"
COMPLEMENT_PACKAGES="refind emacs office flatpak embedded kicad"
COMPLEMENT_PACKAGES="refind emacs office flatpak embedded kicad ate"
function install_most () {
for target in $MOST_PACKAGES