Tree @master (Download .tar.gz)
Dot-files
Here are my dot-files.
Introduction
I've been managing my dot-files for a few years, and so always did everything I could to ease their management. I finally started liking the way I manage them.
My main goal is to set up a new machine quickly, and with the least human-interaction. I also want my dot-files to be portable and easily deployed on different environments.
I previously used a Makefile to manage everything, but the more I added files and configurations, the more it became uglier and uglier. A script is now available to manage and deploy them.
My dot-files work using symbolic links, and are deployed using stow.
Each folder in this repository contains an application configuration.
Within these folders, they are structured as if being located at $HOME
.
Here is an example with mpd
:
mpd/
└── .config/
└── mpd/
└── mpd.conf
Installation
My dot-files are mostly self-contained, and deployed by stow
.
It should be available on most platforms (at least on Arch Linux).
Cloning this repository and there it is.
Note: to build fonts, Python3's
virtualenv
must be installed.
Deployment
As my dot-files are.. mine, everything is made to match my setup.
A deployment script is available (./deploy.sh
).
Here is the usage:
./deploy.sh OPTS PROFILE
options:
-a adapt pacman to ARM architecture
-b add blackarch repository
common:
base configs
git - mpd - neomutt - nvim - ncmpcpp - zsh - nano
sudo: pacman - nano
graphic:
graphical machines
:common:
mako - sway - mpv - qutebrowser - termite - zathura - font
laptop:
battery and wireless
:graphic:
tlp - wpa_supplicant/network-manager
server:
remove unwanted files
:common:
tmux
minimal:
on user-only machines (VM, work..)
nano - nvim - zsh
A few remarks worth reading before deployment:
- btw i use arch, a pacman configuration is deployed.
- I'm also using NetworkManager to provide Wi-Fi.
- TLP is enabled to reduce battery consumption.
Some wallpapers are available in ~/.wallpapers/
, to use one, link it to ~/.wallpaper
(without any extension).
By default, swaylock
will use ~/.wallpaper
.
Currently, ~/.wallpapers/arch.sh
is launched, this script is inspired from amirashabani/bain's.
It displays arch logo with battery indicator as a background.
To-do list and improvements
- [ ] automate arch install
- [ ] install packages on deployment
- [X] add blackarch repo (
-b
option) - [X] fix pacman deployment
- [ ] clean 'nvim' config for 'minimal' profile
- [ ] in 'minimal' profile, copy 'nvim' to 'vim'
- [ ] clean this dirty 'zsh' config
- immuable and easily deployable config?
- ansible?
- vim autocmd groups depending on language?
Commit History
@master
git clone https://git.franzi.fr/dotfiles/
- deploy: fix arm mirror Victor Franzi 4 years ago
- deploy: fix arm mirror Victor Franzi 4 years ago
- deploy: add ARM support Victor Franzi 4 years ago
- deploy: remove unused opts Victor Franzi 4 years ago
- nvim: load language-specific plugin only for this language Victor Franzi 4 years ago
- zsh: ptpb.pw closed, thanks for the fish Victor Franzi 4 years ago
- deploy: fix SUDO vars + fix blackarch repo Victor Franzi 4 years ago
- deploy: add blackarch repo support (pacman only) + show profiles Victor Franzi 4 years ago
- gitignore: remove mpv files Victor Franzi 4 years ago
- mpv: remove useless gitignore Victor Franzi 4 years ago
- readme: fix typos Victor Franzi 4 years ago
- zsh: add previously removed autojump Victor Franzi 4 years ago
- sway: ignore vmware and docker network interfaces in bar Victor Franzi 4 years ago
- sway: remove comments in compose key config Victor Franzi 4 years ago
- sway: add former XCompose Victor Franzi 4 years ago
- readme: update todo list Victor Franzi 4 years ago
- bins update Victor Franzi 4 years ago
- zsh: ctrl+backspace to remove previous word Victor Franzi 4 years ago
- zsh: clean variables Victor Franzi 4 years ago
- zsh: clean plugins Victor Franzi 4 years ago
- zsh: clean functions Victor Franzi 4 years ago
- zsh: clean aliases Victor Franzi 4 years ago
- qutebrowser: new quickmarks, dark mode, and some keybinds Victor Franzi 4 years ago
- wifi: switch to networkmanager Victor Franzi 4 years ago
- wallpaper: screen filled with random letters Victor Franzi 4 years ago
- add binaries as a module Victor Franzi 5 years ago
- readme: update todo Victor Franzi 5 years ago
- zsh: alias to update mirrorlist Victor Franzi 5 years ago
- vim: fix vim-plug location Victor Franzi 5 years ago
- tmux: reload config Victor Franzi 5 years ago