Skip to content

Minimalist and portable Debian setup for development using i3, Neovim and Bash

Notifications You must be signed in to change notification settings

Skalyaeve/a-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Component Name Conf Binds Theme
OS Debian 12 ---- ---- a-linux-theme
DE ---- ---- ---- ----
WM i3 config binds.conf ----
Shell Bash .bashrc .bash_aliases ----
Terminal Alacritty alacritty.yml .inputrc alacritty.yml
IDE Neovim init.lua binds.lua a-nvim-theme
Browser Firefox ---- ---- a-firefox-theme

From

To

Launcher menu: a-linux-launcher

A script

  • To quickly setup any Debian $HOME/system
  • To keep updated git/web resources
  • To group tools & configurations

Usage

setup [options]

From a resource directory:

  • Install/Update apt packages via .apt files
  • Install/Update pip packages via .pip files
  • Install/Update node packages via .npm files
  • Install local resources via .local files
  • Run scripts from .run folders

Options

  • -u/--user <user>
    • Install for specified <user>
  • -p/--path <path>
    • Specify a path to resource directory
    • Default: ~/.local/share/setup
  • -e/--exclude <dir1> [dir2]...
    • Exclude specified directories
  • --no-apt
    • Do not read .apt files
  • --no-pip
    • Do not read .pip files
  • --no-npm
    • Do not read .npm files
  • --no-local
    • Do not read .local files
  • --no-run
    • Do not read .run folders

.apt & .pip & .npm files

  • <package_name>
  • 1 package per line

.local files

  • Swap files/folders from $(dirname .local)
  • <path from .local file> @ <target DIRECTORY>
  • 1 line per swap

.run folders

  • Per subdirectory:
    • 1 install.sh bash script
    • 1 update.sh bash script (opt)

Install

mkdir -p ~/.config
mkdir -p ~/.local/src
mkdir -p ~/.local/bin
mkdir -p ~/.local/share
sudo apt update -y
sudo apt install -y python3
sudo apt install -y python3-venv
sudo apt install -y nodejs
sudo apt install -y npm
dst=~/.local/src/setup
git clone https://github.com/Skalyaeve/a-setup.git $dst
cd $dst
dst=~/.local/share/setup
mkdir -p $dst
ln -s $PWD/resource $dst/resource
ln -s $PWD/setup.sh ~/.local/bin/setup
python3 -m venv ~/.local/share/pyenv

Edit resource directory to your needs, then:

export PATH=$HOME/.local/bin:$PATH
setup

or

sudo ln -s ~/.local/bin/setup /usr/local/bin/setup
sudo setup -u $USER

About

Minimalist and portable Debian setup for development using i3, Neovim and Bash

Topics

Resources

Stars

Watchers

Forks