Go to file
Marvin Johanning 3880f6c7ef Merge branch 'ThinkCentre-M83' into 'master'
Add ThinkCentre M83 files

See merge request mjohanning/dotfiles!2
2020-05-29 17:38:14 +00:00
.config Add ThinkCentre M83 files 2020-04-19 11:30:18 +02:00
.i3 Merge branch 'master' into 'ThinkCentre-M83' 2020-05-29 17:37:55 +00:00
.Xresources Initial commit 2020-03-29 20:14:02 +02:00
.bashrc Update zshrc, rc.conf, i3 conf … 2020-03-31 21:03:49 +02:00
.extend.Xresources Initial commit 2020-03-29 20:14:02 +02:00
.profile Add ThinkCentre M83 files 2020-04-19 11:30:18 +02:00
.vimrc add .vimrc 2020-05-29 19:13:13 +02:00
.zshrc Merge branch 'master' into 'ThinkCentre-M83' 2020-05-29 17:37:55 +00:00
README.md Update README 2020-04-03 14:54:22 +02:00
hosts Add hosts, edit rifle.conf 2020-04-01 21:17:04 +02:00
i3status.conf Update QtProject.conf, update i3status 2020-04-01 19:57:56 +02:00
scrot.png Update README, update screenshot, add comment in .zshrc 2020-04-03 14:52:44 +02:00

README.md

Dotfiles

What are dotfiles

Dotfiles are, generally, small files that, as the name would suggest, begin with a full-stop. These are generally used for the configuration of programs (especially CLI and TUI programs) and other parts of the operating system. Please be aware, however, that this repository also contains config files that technically aren't dotfiles (as they don't begin with a dot). Therefore, it's best to view this repository as a collection of my most important config files.

How can I use these files?

Before you begin using these files, create a back-up of all your configuration files. Installing these may render your machine unsuable. Use at your own risk! I cannot be made responsible for any damage caused to your machine.

If you wish to use these config files for yourself, I welcome you to do so! However, I use a couple of programs that you may not have installed and it's therefore important to install these before you begin. Afterwards, you simply clone this repository and copy the content of the resulting folder into your ~ folder, overwriting exisiting files.

Prerequisites

  1. You need to have i3-gaps installed if you are planning on copying any of the files from the .i3 folder.

  2. Vim is pre-installed on most Linux distributions, however I use Vim in the terminal. I am not sure if any of the configs work with gVim or neoVim or any of the other types of vim. (if you want to use my .vim configs)

    • To install the different Vim plugins that I use, you will need to install Vundle which can be downloaded by typing git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim into your terminal. Afterwards, please try to run :PluginInstall; this should then automatically install the different plugins for you. Beware, however, that it may take a couple of seconds depending on your internet speed; it will say "Done!" when every plugin has been successfully downloaded.
  3. Ranger is the file manager I use. I am not sure whether it comes pre-installed with most Linux distributions, so please check whether Ranger has been installed. (if you want to use my ranger configs)

  4. Pywal is highly recommended for changing backgrounds and colours on the fly (especially with my Ranger shortcut)

  5. The mdv program

  6. I use neomutt for my emails, so you'll need that as well

  7. I prefer to use st as my terminal emulator. You can find my build here on Gitlab as well (https://gitlab.com/mjohanning/suckless-st)

  8. If you want to get the most out of neomutt, I highly recommend using mutt-wizard

  9. I generally use Zsh as my default Shell

  10. My preferred PDF reader is zathura

    • I use a couple of extensions. To install these, please first download and install oh-my-zsh and then download and installautosuggestions and zsh-syntax-highlighting. Otherwise you won't be able to use my .zshrc.
  11. For viewing images I use sxiv (You can find my own version of sxiv here on Gitlab as well)

  12. I use dmenu for a few things, most notably as an application launcher and as a nice way of browsing through the terminal history and running commands. My build with some patches is on Gitlab as well.

How to get my set-up

In order to use these config files, you should firstly create a backup of your current config files (I recommend using git and Github for that as well. If that is too complicated, just rename them to something like configname.copy). After having created a backup of all important config files, you simply need to replace all all your files with the ones in this repository. Some config files have my username included, which means that if you try to run said config file you will most likely run into an error. Should you run into an error when running a config file or should something not work as intended, please check the config file and see if it includes my username and remove it.

DISCLAIMER! USE AT OWN RISK! I cannot be made responsible for any harm done to your computer

Keybindings

These config files also include a large number of keybindings that have been tweaked or added to my liking. When using my configuration, please be aware that the keybindings that you are used to might have been changed. Here is a quick overview of most of the commands that have been added

Program Command Function
Ranger CC(w/z/c/ Pressing CC(w/c/z) (change colour) when over an image file will start pywal using that image. `CCw` will use the `wal` backend, the others use `colorthief` and `colorz` respectively.
Ranger gPc, gDd, gDc ... (more here) Pressing these button combinations will take you to a specified directory (g => goto), for example gPc => goto Pictures
Ranger mvt (+directory) Pressing this button combination over any file (mvt => move to) and then specifying a directory will move said file to said directory
Ranger mvPc, mvDc, mvPw... Will move selected file(s) to either ~/Pictures (mvPc), ~/Documents (mvDc) or ~/Pictures/wallpapers (mvPw)
Ranger cpPc, cpDc, cpPw... Will copy selected file(s) to either ~/Pictures (mvPc), ~/Documents (mvDc) or ~/Pictures/wallpapers (mvPw)
Ranger oM, oE, oV, oW oM parses a markdown file using mdv and displays it using w3m the others open the selected file using Emacs, Vim or w3m respectively
Ranger cpPc, cpDc, cpPw... Will copy selected file(s) to either ~/Pictures (mvPc), ~/Documents (mvDc) or ~/Pictures/wallpapers (mvPw)
Ranger dl Will delete selected files
Ranger exe mexe Start selected executeable file (exe) or make file executeable (mexe)
Ranger bk Creates a backup file (filename.ending_bk) for the files selected
i3-gaps Mod+Shift+P (+M) Will increase (+P) or decrease (+M) outer gap size
i3-gaps Mod+CTRL+P (+M) Will increase (+P) or decrease (+M) inner gap size