/dotfiles

my dotflies

Primary LanguageShell

damned's dotfiles

My personal dotfiles collection

I use X and Arch, btw, and haven't tested these configurations on other systems

Installation

Backup your configs

Clone this repo and copy its content inside your home path (~)

git clone https://github.com/damned-me/dotfiles /tmp/dotfiles
cp -r /tmp/dotfiles/.* ~

List of Packages

  • X
    • xorg-xinit
  • xterm
  • kitty
  • alacritty (current)
  • zsh
    • git
    • gnupg
    • pfetch
    • htop
    • unimatrix
    • ncpamixer
    • cava
    • ranger
    • spotify-tui
  • vim
  • i3-gaps
    • i3status
    • nitrogen
    • feh (current)
    • picom
  • zathura
  • dunst
  • qutebrowser

zsh

Config

  • .zshrc
  • .zprofile

Configuration manager: ohmyzsh

Plugins

Alias

Inside .zshrc

# User defined alias
#default ls alias (uncomment if exa is not used)
#alias ls='ls --color=auto'
#alias ll='ls -la'

# exa alias
alias ls='exa'
alias ll='exa --tree --level=2 -l'
alias la='exa --tree --level=2 -la'

alias pls="sudo"

alias vi='vim'

alias v='vi'
alias q='exit'

alias p='python3'

alias pdf=zathura

alias zshconfig='vi ~/.zshrc'
alias vimconfig='vi ~/.vimrc'
alias xconfig='vi ~/.xinitrc'
alias tconfig='vi ~/.Xresources'
alias i3config='vi ~/.config/i3/config'
alias i3sconfig='vi ~/.config/i3status/config'
alias rconfig='vi ~/.config/ranger/rc.conf'
alias qlo='i3-msg exit'
# End of user defined alias

Functions

Some utility function I had written for myself, they require curl as they query the cht.sh and wttr.in api.

# User defined functions

# Get cheatsheet
#  ex.  cheat c/move_cursor
#       cheat python/print
cheat <topic>/<details>

# Get weather
#  ex.  weather New_York
#       weather "40.7305991,-73.9865811"
#       weather NYC
weather <location>

# End of user defined functions

vim

Install vimplug:

curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Config .vimrc

Plugin manager: plug

Activated plugins

emacs

See my .emacs.d repository

i3-gaps

Official i3-wm wiki

Additions:

Keybindings

mod+Shift+minus move window to scratchpad
mod+Shift       show scratchpad
mod+Shift+s     show sup-mail scratchpad window
mod+Shift+f     (file manager) ranger
mod+Ctrl+t      connect to emacs server (terminal)
mod+Shift+t     connect to emacs server (GUI)
mod+Shift+b     open browser (firefox)

i3status

Change disk space stats and cpu temp path inside .config/i3status/config