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/
- nvim: terraformls + comment lines plugin Victor Franzi 3 years ago
- deploy: add waybar in graphic profile Victor Franzi 3 years ago
- nvim: switch config to lua Victor Franzi 3 years ago
- nvim: add statusline colors to colorscheme Victor Franzi 3 years ago
- qutebrowser: add new quickmark Victor Franzi 3 years ago
- pacman: use community/kernel-modules-hook instead of custom hooks Victor Franzi 3 years ago
- nvim: no wrapping when writting emails Victor Franzi 3 years ago
- waybar: separate warning and critical battery level + switch to alacritty Victor Franzi 3 years ago
- nano: update config with new options Victor Franzi 3 years ago
- sway: fix alacritty shortcuts Victor Franzi 3 years ago
- switch from 'termite' to 'alacritty' as a terminal emulator Victor Franzi 3 years ago
- sway: start notif server with sway Victor Franzi 3 years ago
- deploy: combine systemctl enable and start by using --now flag Victor Franzi 3 years ago
- sway+wallpaper: center the wallpaper, do not fit it Victor Franzi 3 years ago
- pacman: upgrade to version 6 Victor Franzi 3 years ago
- deploy: add kanshi Victor Franzi 3 years ago
- waybar: add a message before exiting pacman + change date format Victor Franzi 3 years ago
- sway: add 'kanshi' to handle outputs (plug/unplug) Victor Franzi 3 years ago
- git: set default branch name to 'main' Victor Franzi 3 years ago
- waybar: after pkg update, wait before closing the terminal Victor Franzi 3 years ago
- sway: add keybind to launch 'swappy' Victor Franzi 3 years ago
- waybar: add pacman pkg notification Victor Franzi 3 years ago
- pacman: keep 2 versions of each package (current+previous) Victor Franzi 3 years ago
- waybar: set colors accordingly to sway Victor Franzi 3 years ago
- sway: switch to waybar Victor Franzi 3 years ago
- qutebrowser: remove unused quickmarks Victor Franzi 3 years ago
- sway: workspaces binds work with both qwerty and azerty Victor Franzi 3 years ago
- deploy: fix choose function Victor Franzi 3 years ago
- deploy: select the correct arm architecture Victor Franzi 3 years ago
- bin: use http instead of ssh Victor Franzi 3 years ago