All Projects → benmezger → dotfiles

benmezger / dotfiles

Licence: MIT license
My collection of dotfiles

Programming Languages

python
139335 projects - #7 most used programming language
perl
6916 projects
shell
77523 projects
emacs lisp
2029 projects
Vim Script
2826 projects
Makefile
30231 projects

Projects that are alternatives of or similar to dotfiles

dotfiles
My arch setup script and dotfiles
Stars: ✭ 37 (-51.95%)
Mutual labels:  config, tmux, fish, archlinux, chezmoi
config-public
Linux/WSL config to optimize ergonomics, security, and productivity: vim/neovim, zsh, tmux, i3, emacs, vscode, ipython, jupyter, ranger, fzf, kitty, xkb, selfquant, firejail, systemd, etc
Stars: ✭ 14 (-81.82%)
Mutual labels:  tmux, archlinux, ipython, i3
Dotfiles
Passionately crafted configs for CLI lovers 🐧❤️
Stars: ✭ 70 (-9.09%)
Mutual labels:  tmux, unix, i3
dotfiles
There is no place like ~/
Stars: ✭ 19 (-75.32%)
Mutual labels:  tmux, scripts, i3
dotfiles
Personal dotfiles 💻
Stars: ✭ 13 (-83.12%)
Mutual labels:  tmux, fish, chezmoi
dotfiles
My personal dotfiles repository
Stars: ✭ 36 (-53.25%)
Mutual labels:  archlinux, scripts, i3
Fzf
🌸 A command-line fuzzy finder
Stars: ✭ 40,965 (+53101.3%)
Mutual labels:  tmux, fish, unix
Dotfiles
My [NeoVim + Tmux + Fish Shell] Setup /w install scripts
Stars: ✭ 180 (+133.77%)
Mutual labels:  tmux, fish, i3
Powerline
Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
Stars: ✭ 12,989 (+16768.83%)
Mutual labels:  tmux, fish, ipython
Dotfiles
If there is a shell, there is a way!
Stars: ✭ 112 (+45.45%)
Mutual labels:  tmux, fish, i3
Dotfiles
My dotfiles 🚀. Includes configs for neovim, tmux, zsh, alacritty and more.
Stars: ✭ 47 (-38.96%)
Mutual labels:  config, tmux, scripts
dotfiles
My dotfiles based on Makefile
Stars: ✭ 150 (+94.81%)
Mutual labels:  config, tmux, archlinux
dotfiles
My personal set of dotfiles (Managed with Stow)
Stars: ✭ 34 (-55.84%)
Mutual labels:  config, tmux, i3
Machfiles
The dotfiles you see in all my videos
Stars: ✭ 347 (+350.65%)
Mutual labels:  config, archlinux
dotfiles
Config files for my *nix systems
Stars: ✭ 105 (+36.36%)
Mutual labels:  config, unix
dotfiles
Command-line lovers unite! I'm sharing my dotfiles, so you don't have to be me and spend years tweaking configuration files for the best developer experience. Enjoy!
Stars: ✭ 38 (-50.65%)
Mutual labels:  fish, unix
dotfiles
dotfiles of simonvic daily used enviroment
Stars: ✭ 75 (-2.6%)
Mutual labels:  archlinux, i3
dotfiles
My dot files and dev environment using bash, tmux and vim
Stars: ✭ 61 (-20.78%)
Mutual labels:  config, tmux
config
Bunch of scripts that keep me productive
Stars: ✭ 29 (-62.34%)
Mutual labels:  config, tmux
configs
all config files that I use/used
Stars: ✭ 14 (-81.82%)
Mutual labels:  config, unix

Installing this configuration

Requirements

  • Chezmoi
  • Archlinux or OSX

Installing

Note: You are required to use the env variable SECRETS_OFF=1, as not passing will make chezmoi fail when connecting to my bitwarden's account.

The following environment variables can be set to configure Chezmoi on runtime:

  • ASK: Set to 1 if you want to enable chezmoi prompt
  • SECRETS_OFF: Set to 1 to enable Bitwarden (uses my personal secrets set in .chezmoi.yaml)
  • DOTFILES_MINIMAL: Set to 1 if you want to install the minimal version
  • WORKCONF: Set to 1 to enable work configuration (work email, etc)

For example, you can enable ASK by running ASK=1 chezmoi apply or enable a minimal version of the dotfiles with DOTFILES_MINIMAL=1 chezmoi apply

Chezmoi allows easy install of this configuration by running the following command:

Full version

SECRETS_OFF=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfiles

Minimal version

The minimal version installs only the essentials.

  • zsh
  • git
  • vim
  • emacs
  • tmux
  • curl
  • alacritty
  • neovim
  • user-dirs
  • editorconfig
  • dircolors
SECRETS_OFF=1 DOTFILES_MINIMAL=1 chezmoi init https://github.com/benmezger/dotfiles.git -S ~/dotfiles

Scripts

All the system dependencies are installed either by running the Makefile (see make help) or by running chezmoi apply. All scripts are located in the scripts directory. Two files are of importance: buildcheck.sh and minimalcheck.sh. The first checks if the scripts is running in a CI environment while the latter checks if the install profile is equal to minimal.

Command Description
make start-services Starts services (systemd, brew services..).
make git-repos Clone Git repos.
make conf-sys Configure system files.
make ssh-perms Set SSH permissions.
make gnupg-perms Set GnuPG permissions.
make pyenv Install pyenv.
make osx-defaults Configure defaults for OSX.
make ensure-deps Install all dependencies.
make chezmoi-init Initialize chezmoi.
make chezmoi-apply Apply chezmoi files (runs all scripts).
make post-chezmoi Run post chezmoi scripts.
make install-homebrew Install Homebrew.
make install-chezmoi Install chezmoi.
make install-aur Install AUR packages .
make install-deps Install system dependencies.
make ensure-dirs Creates required directories.
make install-riscv Install RISC-V toolchain and dependencies.
make install-rust Install Rust.
make install-go-deps Install go dependencies.
make install-osx-app Install MacOS applications (requires mas).
make run Ensure deps and apply chezmoi.
make all Run all.

Keybindings

OSX

  • fn + cmd - e - opens emacs
  • fn + cmd - i - opens firefox
  • fn + cmd - f - opens finder in $HOME
  • cmd + return - opens alacritty

MPC

  • fn + cmd - f1 - mpc play
  • fn + cmd - f2 - mpc pause
  • fn + cmd - f3 - mpc prev
  • fn + cmd - f4 - mpc next
  • fn + cmd - f5 - mpc volume -10
  • fn + cmd - f6 - mpc volume +10

Troubleshooting

Chezmoi does not seem to reload the configuration

Run chezmoi init <dotfiles-path> again. This should reload the configuration by copying chezmoi.yaml to $HOME/.config/chezmoi/chezmoi.yaml.

Sourcing env with i3

For some reason, i3 is sourcing .xprofile instead of xinitrc, so for getting Github plugin for the i3status-rust you need to set up a variable in your .xprofile

export I3RS_GITHUB_TOKEN="your-github-token"

Screenshots

OSX

Archlinux

Weechat IRC

Emacs

Contributing

  1. Ensure you have linted the commits before committing:
    1. Install pre-commit
    2. Install the hook: pre-commit install --hook-type commit-msg
  2. Make the contribution and open a pull request
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].