bit-willi / dotfiles

My collection of dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing this configuration

Requirements

  • Chezmoi
  • Archlinux or OSX

Installing

Note: You need to set the env variable SECRETS_OFF=1 to disable bitwarden. Not passing will make chezmoi fail when connecting to my bitwarden's account ¯_(ツ)_/¯.

The following environment variables can be set to configure chezmoi when applying changed:

  • SECRETS_OFF: Set to 1 to enable Bitwarden (uses my personal secrets set in .chezmoi.yaml)

Install with chezmoi

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

Makefile

You can clone this repository and use the Makefile to apply the changes + install dependencies.

make apply or make all
make fix-permissions
make install-extra-dependencies
make configure-linux

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

Archlinux

Desktop

Vim

Contributing

  1. Feel free to contribute and/or report issues.

About

My collection of dotfiles

License:MIT License


Languages

Language:Python 66.9%Language:Shell 12.6%Language:Perl 10.6%Language:Lua 3.4%Language:Emacs Lisp 3.1%Language:Vim Script 1.9%Language:Makefile 0.7%Language:Ruby 0.3%Language:YASnippet 0.2%Language:Vim Snippet 0.2%Language:Dockerfile 0.1%