rice

rei with the taste
git clone https://s.sonu.ch/~rei/rice.git
Log | Files | Refs | README

commit 114b6e274712af28eddb5ba6b21941b91f04604e
parent 84af22e7dae88419c7684e8487fbce86d878f865
Author: rei <rei@sonu.ch>
Date:   Sun, 29 Aug 2021 21:07:04 +0300

newer stuff

Diffstat:
A.config/wp.jpg | 0
M.profile | 12++++++------
Rreadme -> README | 0
Abin/xinit.sh | 12++++++++++++
4 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/.config/wp.jpg b/.config/wp.jpg Binary files differ. diff --git a/.profile b/.profile @@ -1,13 +1,13 @@ # envs export ENV="$HOME/.kshrc" export NO_COLOR="1" -export XDG_CONFIG_HOME="$HOME/.config" -export XDG_CACHE_HOME="$HOME/.cache" -export WGETRC="$XDG_CONFIG_HOME/wgetrc" -export SCRIPTS="$HOME/scripts" export TERM="screen-256color" export BROWSER="firefox" -export EDITOR="vi" +export EDITOR="/bin/vi" + +# toybox +TOYBOX=/usr/local/toybox export TOYBOX +PATH=$TOYBOX/bin:$TOYBOX/usr/bin:$TOYBOX/sbin:$TOYBOX/usr/sbin:/bin:/usr/local/bin export PATH # start x on login -sh $HOME/scripts/xinit.sh +sh $HOME/bin/xinit.sh diff --git a/readme b/README diff --git a/bin/xinit.sh b/bin/xinit.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +["$DISPLAY"] && exit 1 + +tty=$(tty | tail -c2) || exit 1 +xinitrc=$(XINITRC:-$HOME/.xinitrc) + +export DISPLAY=:$tty + +exec xinit "${@:-$xinitrc}" -- "$DISPLAY" vt"$tty" -keeptty + +clear