mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-25 12:44:35 +00:00
home | ||
root | ||
.gitignore | ||
.gitmodules | ||
kernel-config.md | ||
LICENSE | ||
README.md |
Dotfiles
These are my personal dotfiles. This also include an automated installer for certain packages (Arch Linux specific) and for putting the dotfiles in place.
Source code for this automated script is in src
directory, and the dotfiles are located in home
and root
directories respectively.
You are highly adviced to first go through these dotfiles yourself and adjust them to your liking.
Sample images
- Custom prompt (defined here.
- Neovim configuration (defined
here
) - Automatic unknown command package handler
lf
file manager previews with ueberzug
Features
- Full fledged ZSH configuration without the need to rely on oh-my-zsh
- oh-my-zsh configuration is also supported, but it is off by default, adjust
.zshrc
to enable it - Even though enabling it is an option, it is not a necessary thing to do, oh-my-zsh has a lot of code that is mostly irrelevant and unused, these dotfiles give you the ability to completely avoid it, if you desire to do so
- oh-my-zsh configuration is also supported, but it is off by default, adjust
- Custom prompt, both for oh-my-zsh configuration or for standalone usage
- Custom VIM configuration
- When you open nvim for the first time, it will automatically try to install addons using VimPlug
- It is complatible with TTY usage, in which case the color support is downgraded and use of special fonts is disabled.
- There isn't a single huge configuration file, but rather multiple config files that are being sourced by the main init.vim, this is done to avoid clutter with comments in the main file and it also provides a very easy way to disable parts of configuration, by simply not sourcing that file.
- NOTE: This configuration is mostly designed for neovim, not regular vim, however it should work with some adjustments
- Many handy aliases and functions (likely too many, you should adjust that to your needs)
- Many pre-defined environmental variables, these include
- XDG paths configuration to avoid too much cluttering in home directory
- Colorful man pages using LESS_TERMCAP, or if
bat
is installed, using it as MANPAGER
- Automatic handlers which override default command not found behavior to show the package to which given command belongs (requires pkgfile on Arch Linux)
- Automated package installation for Arch Linux, which includes many handy packages. You should certainly take a look at which packages will be installed and adjust
packages.yaml
before you run it. - Opensnitch firewall rules, which block most unauthorized traffic and only allow needed things. This also blocks spotify ads.
- Automatic logout for TTY sessions or for root logins after 10 minutes of inactivity
- NetworkManager configuration which assigns new mac for each network
lf
file manager configuration with support for ueberzug image previews within the terminal- Tons of handy scripts for automating common tasks
incremental-backup
: Easy way to utilize rsync for all backups, without the need for external softwareauto-chroot
: Quick way to chroot into any other linux system, without typing the very repetetive mount and umount commandstamper-check
: Script that uses checksums to verify that given files weren't adjusted in any way.brightness
: Script to quickly change screen brightness, you may need to adjust the BRIGHTNESS_FILE, this can be different from machine to machinesetbg
: Quick way to set desktop background to specific image, or random image, or previously used image- Many smaller dmenu scripts to make life easier
Requirements
curl
and tar
, or git
to clone the repository itself.
Installation
Clone this repository anywhere you like
$ git clone https://github.com/ItsDrike/dotfiles
If you don't want to install git (running straight from newly installed os), you can use curl
:
$ curl -LJO https://github.com/ItsDrike/dotfiles/tarball/master
And extract from .tar.gz
archive:
$ tar xvf [archive name]