https://github.com/redkittty/adpds
Automated Dotfiles and Programs Deployment Script
https://github.com/redkittty/adpds
dotfiles dotfiles-installer script
Last synced: 7 months ago
JSON representation
Automated Dotfiles and Programs Deployment Script
- Host: GitHub
- URL: https://github.com/redkittty/adpds
- Owner: redkittty
- License: lgpl-2.1
- Created: 2024-05-16T21:50:49.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-17T21:40:59.000Z (over 1 year ago)
- Last Synced: 2025-01-24T12:45:49.885Z (9 months ago)
- Topics: dotfiles, dotfiles-installer, script
- Language: Shell
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
#+TITLE: ADPDS (AUTOMATED DOTFILES AND PROGRAMS DEPLOYMENT SCRIPT)
#+AUTHOR: Envixty (redkittty on GitHub)
#+STARTUP: showeverything* ADPDS
ADPDS (Automated Dotfiles and Programs Deployment Script) is a series of Bash Scripts aiming to make the process of installing Dotfiles and associated Programs stupidly easyADPDS is a Bash Script that uses a TUI (Text-User Interface) to make it easy to select and install a user's dotfiles
NOTE: This is made for authors of Dotfile Repos and are intended to be edited, this is just a template
* Dependencies
NOTE: This is only tested on a GNU/Linux System (Modifications might have to be made for other Unix-like OS's)Nerd Fonts
* Install
In order to install ADPDS do#+begin_src bash
git clone https://github.com/redkittty/ADPDS.git && cd ADPDS
#+end_src* Documentation
The way ADPDS works is that there is a central boot.shThis script shows the OS selection Screen and also the way to backup the Home Directory to save dotfiles
In order to have an OS in here, You have to add it to the list like with the example of:
- Debian
- Arch
The option has to source a script for that OS in os/, ex:
ADPDS/os/arch.sh for Arch Linux
Those scripts should be based of the template provided for Arch Linux
Finally those scripts have to link to os/dotfiles.sh to copy over dotfiles from a defined directory
ex: Debian
#+begin_src bash
#!/bin/bash
# DEBIAN (EXAMPLE SCRIPT)
# NERD FONTS ARE RECOMMENDED
# Color definitions (optional)
red='\033[0;31m'
green='\033[0;32m'
yellow='\033[0;33m'
reset='\033[0m'# Function to display the main menu
function main_menu() {
clear
echo -e "${yellow}Would You like to install Additional Software: ${reset}"
echo "---------------"
echo "1) Yes"
echo ""
echo "2) No"
echo ""
echo "---------------"
echo -e "${yellow}Or another option ${reset}"
echo "---------------"
echo ""
echo "3) Exit"
echo ""
echo "---------------"
echo ""
echo -n "Enter your choice: "
read choice
case $choice in
1) install_software ;;
2) exit 0 ;;
3) exit 0 ;;
*) echo -e "${red}Invalid choice!${reset}"; sleep 3.5; main_menu ;;
esac
}# Function to backup existing dotfiles (optional)
function install_software() {
echo -e "${yellow}Updating Software and Repos...${reset}"
sudo apt update && sudo apt upgrade
echo -e "${yellow}Now installing software!${reset}"
sudo apt install emacs fish eza doas dash pcmanfm htop zsh git steam mpv unzip rust rust-analyzer neovim python3 kitty qbittorrent firefox bluez bluez-utils base-devel man-db ttf-font-awesome # These aren't actual debian package names
echo -e "${green}Done installing software!${reset}"; sleep 3.5; exit 0
}
#+end_src