From a6676b67f97afd8d685f74b2d00a746c6cb569f8 Mon Sep 17 00:00:00 2001 From: dth Date: Sat, 27 Aug 2022 17:11:57 +0200 Subject: [PATCH] :memo: :boom: add suckless terminal --- ubuntu.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/ubuntu.md b/ubuntu.md index fb28ce6..89b423b 100644 --- a/ubuntu.md +++ b/ubuntu.md @@ -5,28 +5,44 @@ * git clone dotfiles * cd dotfiles and run makefile * (make toplevel rules, i.e `setup_nerdfonts` is a sub of `setup_alacritty`) + * replace alacritty with stterm ## Intro -This post-install script is intended to be run directly after ubuntu 22.05 installion. +This post-install script is intended to be run directly after ~Uubuntu 22.05~~ Pop_OS installion. The scipt assumes device is encrypted and user account is protected. With a strong passphrasses for both. Open terminal, run one code snippet at the time and check that no errors occur: +## stterm +* install requirements + * `sudo apt install libfontconfig1-dev` + * `sudo apt install libx11-dev` + * X11/Xft? +* clone from source `git clone https://git.suckless.org/st` + * > Note: clone it somewhere reasonable (`$HOME/repos`) +* run `sudo make clean install` inside `st/` +* delete `st/config.h` +* link `dotfiles/st/config.h --> $HOME/repos/st/config.h` + * remember to version control the config.h file + + ## apt package startup installation for ubuntu clients ``` # add external repos -sudo add-apt-repository ppa:aslatter/ppa # for alacritty +# sudo add-apt-repository ppa:aslatter/ppa # for alacritty +# replace alacritty with stterm sudo apt install git -y # version control # sudo apt install neovim -y # brew install nvim to get version 0.7 # sudo apt install librewolf -y # add librewolf repo first sudo apt install qutebrowser -y # minimal vim-binding browser sudo apt install gnome-tweaks -y # tool to remap caps to ctrl -sudo apt install alacritty -y # add alacritty repo first +# sudo apt install alacritty -y # add alacritty repo first +# replace alacritty with stterm sudo apt install tmux -y # terminal multiplexer sudo apt install make -y # utility to maintain shell program groups sudo apt install curl -y # file transfer helper