Make changes found in later commits on Omakub

This commit is contained in:
2024-06-09 17:45:46 -05:00
parent f8962e9ec7
commit ff33be3b5f
15 changed files with 34 additions and 25 deletions

33
sources/dotfiles.sh Normal file
View File

@ -0,0 +1,33 @@
# Make Directory for all Dotfiles so you can sync them with Nextcloud.
mkdir ~/Documents/Configs
# Set up Bash Config and Source it ASAP.
[ -f "~/.bashrc" ] && rm ~/.bashrc
cp ~/.local/share/sunhat/configs/rc/bashrc ~/Documents/Configs/bashrc
ln -s ~/Documents/Configs/bashrc ~/.bashrc
source ~/.bashrc
[ -f "~/.inputrc" ] && rm ~/.inputrc
cp ~/.local/share/sunhat/configs/rc/inputrc ~/Documents/Configs/inputrc
ln -s ~/Documents/Configs/inputrc ~/.inputrc
# Copy all Dotfiles to the Configs Directory.
cp -r ~/.local/share/sunhat/configs/dotfiles/. ~/Documents/Configs/
# Remove old dotfiles if they exist & create symlinks to the new dotfiles.
rm -rf ~/.config/espanso
ln -s ~/Documents/Configs/espanso ~/.config/espanso
rm -rf ~/.config/forge
ln -s ~/Documents/Configs/forge ~/.config/forge
rm -rf ~/.config/kitty
ln -s ~/Documents/Configs/kitty ~/.config/kitty
rm -rf ~/.config/lobster
ln -s ~/Documents/Configs/lobster ~/.config/lobster
rm -rf ~/.config/neomutt
ln -s ~/Documents/Configs/neomutt ~/.config/neomutt
rm -rf ~/.config/nvim
ln -s ~/Documents/Configs/nvim ~/.config/nvim
rm -rf ~/.config/powerline
ln -s ~/Documents/Configs/powerline ~/.config/powerline
rm -rf ~/.config/ranger
ln -s ~/Documents/Configs/ranger ~/.config/ranger

4
sources/env.sh Normal file
View File

@ -0,0 +1,4 @@
export GH_USERNAME="gibbyb"
export GH_EMAIL="gib@gibbyb.com"
export GH_EDITOR="nvim"
export HOST_NAME="desktop.gib"

View File

@ -1,2 +1 @@
read -p "Set your hostname: " hostname_response
sudo hostnamectl set-hostname $hostname_response
sudo hostnamectl set-hostname $HOST_NAME