Browse Source

.xinitrc generation

master
fiorile 3 months ago
parent
commit
6202ffc289
  1. 14
      neetbsd.sh

14
neetbsd.sh

@ -63,7 +63,19 @@ echo 'SOFTWARE INSTALLATION FINISHED'
echo 'Configuring the installed packages...' 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' echo 'CONFIGURATION FINISHED'

Loading…
Cancel
Save