JeremyStarTM's system-wide dotfiles
Find a file
2024-03-15 02:52:41 +01:00
archlinux Update makepkg.conf & paru.conf 2024-03-15 02:48:08 +01:00
bin Update wording 2024-03-15 02:52:41 +01:00
lone-files Only check for updates if root 2024-03-15 02:52:23 +01:00
.gitignore Do stuff 2024-03-15 01:57:43 +01:00
install.sh Add /etc/localtime 2024-03-15 02:04:35 +01:00
README.md Add /etc/localtime 2024-03-15 02:04:35 +01:00
uninstall.sh Add /etc/localtime 2024-03-15 02:04:35 +01:00

jstm's sysdotfiles

Read this first!

Running install.sh or uninstall.sh will delete and change some things in your /etc and /usr/local/bin directories!

Affected directories

  • /etc/jstmbash
  • /etc/pacman.d

Affected files

  • /etc/bash.bashrc
  • /etc/jstmbash.env
  • /etc/locale.gen
  • /etc/locale.conf
  • /etc/vconsole.conf
  • /etc/localtime
  • /etc/pacman.conf
  • /etc/paru.conf
  • /etc/makepkg.conf
  • /etc/mkinitcpio.conf
  • /etc/sudo.conf

Recommendation

Please, do not modify any files. It will only cause issues during the update process.
If you wish to make your own system dotfiles repo, you can of course modify files and then make your own repository.

Managing

Installing

This will remove all related files and install some software.
WARNING: Please back up all files listed above, most important are /etc/pacman.conf, /etc/pacman.d and /etc/makepkg.conf since you'll likely need these to reinstall all other packages to restore their configuration files. Backing up all files and directories though is HIGHLY RECOMMENDED

git clone https://git.staropensource.de/JeremyStarTM/syspunktdateien.git "/etc/sysdotfiles"
cd "/etc/sysdotfiles"
./install.sh

Updating

This will remove all related files, pull and then link everything again automatically.

sysdotfiles-updater

Uninstalling

This will reset all programs to their original state and remove /etc/sysdotfiles completely.
WARNING: This will erase all installed configuration files and directories. Please reinstall all packages with your package manager, if it's even functional. Please use your backed up files. If you didn't back them up, shoot yourself in the foot.

cd "/etc/sysdotfiles"
env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh
cd "/"
rm -rf "/etc/sysdotfiles"

Repairing

This will should repair any issues you could have with this repository.

cd "/etc/sysdotfiles"
env REMOVE_INSTALLBIT=true REMOVE_REPOSITORIES=true ./uninstall.sh
./install.sh
"/usr/local/bin/sysdotfiles-updater" --force

If you are still facing issues, contact me.