Skip to content

gabriel-del/dotfiles

Repository files navigation

Dotfiles

I use Arch Linux And Lxqt WM

Graphical Interface

Shell

Fish with the Replay is the best combination, it allow to have Aliases in sync with Bash

On .aliases and .bin there is configs as:

  • i and ii: Allow to install anything automatically. Shortcut to pacman -S --noconfirm
  • c: Enter any folder with just part of the name. For example, just type:
c sys

instead of

cd 'System Volume Information'
  • e: Same as c but to files. Also allow edit any file using root permition, but keeping user configs. It uses sudo -E $EDITOR
  • mountp: Mount vfat filesystems with user permissions
  • ...: Shortcut to cd ../.. && ls
  • Auto-sudo without need to type sudo, neither password
  • hd o: Open and mount encrypted HardDrive easily
  • $PATH setted statically, and on sync between bash and fish
  • aliases: Update the configs on bash and fish

System

All this files are inside .system CryptSetup to encrypt the HardDrive and LVM to allow dinamically manage the partitions

The cryptsetup is open automatically by kernel, and can be disabled at anytime just by typing

sys-lock on

Wich also enable the screen locker XscreeSaver , for exemple on vations and trips

It boot fast with Systemd-Boot, does autologin with Getty.

Allow Pacman to install 10 packages at same time in parallel.

Use Insync to sync with google-drive automatily and Syncthing to sync whith smartphone.

How to Use

First, fork the project on github.

While instaling, when the /home folder is empty (Or backup the files and force) , run:

git clone --bare $REPO $HOME/.dotfiles
alias config='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
config config --local status.showUntrackedFiles no
config checkout
  • sys-backup-system: backup the importants system files, take a look at it.
  • sys-programs: Save a list of installed programs, to not forget after formatting.
  • .gitignore: This file is perfectly configured, modify accordinly to your files.