config

My configuration files and custom scripts.
git clone https://git.tronto.net/config
Download | Log | Files | Refs

commit 0eac86dfcae2a3573e1927fdda1d7511066e35d1
parent eab881371ec50be845af8962ca40a9c5a97a2da4
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Sat,  9 May 2026 08:55:43 +0200

startx if in tty1

Diffstat:
M.profile | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/.profile b/.profile @@ -52,3 +52,6 @@ n() { mshow .+1 | templess; } # Session cookies are kept in .ssh [ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions + +# startx if in tty1 +[ "$(tty)" = "/dev/tty1" ] && startx