From 6202ffc28968012d0c67f2b8e5389eb4da7cd982 Mon Sep 17 00:00:00 2001 From: fiorile Date: Sun, 25 Aug 2024 11:33:30 -0400 Subject: [PATCH] .xinitrc generation --- neetbsd.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/neetbsd.sh b/neetbsd.sh index 1ba65ef..09d5f50 100644 --- a/neetbsd.sh +++ b/neetbsd.sh @@ -63,7 +63,19 @@ echo 'SOFTWARE INSTALLATION FINISHED' echo 'Configuring the installed packages...' -# TO-DO: applying the configurations e.g. ~/.e/ for Enlightenment, etc. +echo 'Creating ~/.xinitrc' +# Back up the previous .xinitrc if it exists +mv ~/.xinitrc ~/.xinitrc.old && echo 'Previous .xinitrc backed up as .xinitrc.old' +printf 'exec enlightenment_start\nexec stalonetray' > ~/.xinitrc.tmp # Start enlightenment + stalonetray +cat ~/.xinitrc.tmp ~/.xinitrc.old > ~/.xinitrc # Merge the command for e. with the old xinitrc +rm ~/.xinitrc.tmp # Erase the temporary xinitrc +# RESULTING .xinitrc: +# exec enlightenment_start +# exec stalonetray +# [Previous .xinitrc content if it existed] + +# TO-DO: ~/.e/ for Enlightenment +# TO-DO: Firefox extensions - uBlock Origin, LibRedirect, Block Cloudflare, and Paxmod. echo 'CONFIGURATION FINISHED'