#!/bin/bash
# - bof - #



<<'comment'

# - Configured - #


rm -rf ~/.bashrc;
vim ~/.bashrc;

rm -rf ~/.zshrc;
vim ~/.zshrc;

ssh-keygen -R 192.168.1.1

# - On client - #
cd ~/.ssh;
ssh-keygen -t rsa;

cat ~/.ssh/id_rsa.pub;

# - On server - #
vim ~/.ssh/authorized_keys;



xdg-user-dirs-update;
sudo apt install dialog duf curl figlet git lolcat neovim pv webapp-manager -y;
sudo apt install dialog duf curl figlet git htop inxi lolcat net-tools neovim pv webapp-manager -y;

# -  - #
# - Timezone setting - #
sudo timedatectl set-timezone America/New_York;
timedatectl;



cd ~/; rm -rf ~/iGeany.sh; vim ~/iGeany.sh;
Copy & paste this content
chmod +x ~/iGeany.sh; ~/./iGeany.sh;

comment



# -  - #
# - InstallGeany_ - #
function InstallGeany_(){
  # -  - #
  echo -e  "\n\n\nUpdating system...";
  sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt clean;

  # -  - #
  echo -e  "\n\nInstall Geany text editor...";
  sudo apt install git geany geany-plugins -y;

<<'comment'
  wget [URL_TO_THEME_FILE] -P ~/.config/geany/colorschemes/
  wget kalt.conf -P ~/.config/geany/colorschemes/
comment

  # -  - #
  echo -e  "\n\nInstall Geany text editor color schemes...";
  mkdir -p ~/.config/geany/colorschemes;
  git clone https://github.com/geany/geany-themes.git ~/.config/geany/colorschemes/;
}



# -  - #
# - CleaningUp_ - #
function CleaningUp_(){
  local dFile_='~/iGeany.sh';
  # -  - #
  echo -e  "\n\nCleaning up after installation...";
  rm -rf $dFile_;
}



clear;

InstallGeany_;
CleaningUp_;

echo -e  "\n\nGeany text editor was installed successfully...\n\n\n";



<<'comment'
cd ~/; rm -rf ~/iGeany.sh; vim ~/iGeany.sh;
vim ~/ArchInstall.sh;
chmod +x ~/iGeany.sh; ~/./iGeany.sh;
comment



# - eof - #