Skip to content

steelvelveteen/i3_dotfiles

Repository files navigation

Manjaro i3 Edition full configuration

NerdFonts, FontAwesome, Polybar, MPD, ZSH, VIM, Powerlevel9k, Rofi

Desktop

Fonts. First things first

Nerd Fonts

Download the latest release. (Aprox. 2G) (WARNING: Chrome might fail, so try with different browsers) Unzip the folder, cd into it and run ./install.sh Let it do its job.

Font Awesome

Grab the latest release here.

Also, for Polybar you will need to have installed version 4 for FontAwesome. For this,

yaourt ttf-font-awesome

and pick the right version from the AUR

Powerline fonts

These are specific to Powerlevel9k yaourt powerline-fonts

https://github.com/powerline/fonts

Download the latest release and unzip in your ~/.fonts directory

Powerlevel9k zsh theme

sudo pacman -S zsh-theme-powerlevel9k git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k Then do a source .zshrc or sourcez

Polybar

Do a yaourt polybar and you will see community and AUR versions. Get the AUR version, usually in position 3. There is a config example file in /usr/share/doc/polybar/config that is neither zipped and it is NOT in /usr/local/share/doc/polybar whatever as mentioned in the wiki. Instructions may be misleading. Well, they are.

Create a directory:

mkdir ~/.config/polybar and copy that config file inside your ~/.config/polybar

Test it by running polybar [name of the bar module as in the config file]

NOTE: To terminate already running bar instances

killall -q polybar

Create a file in ~/.config/polybar directory named launch.sh and add the following code.

#!/usr/bin/env bash

# Terminate already running bar instances
killall -q polybar

# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

# Launch bar1 and bar2
polybar top &
polybar bottom &
echo "Bars launched..."

Font resize and fullscreen urxvt

All you need is here. Fullscreen: archwiki

VIM Setup

  • Install pathogen or run the following command
  mkdir -p ~/.vim/autoload ~/.vim/bundle && \
  curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

Finish your vim setup by getting all the plugins you need

  • auto-pairs
  • nerdtree Add this line to your .vimrc map <C-n> :NERDTreeToggle<CR> to create a shortcut

Setting mustang color scheme for vim

Create a directory inside .vim called colors and copy color scheme there. Copy .vimrc file into your home directory Add these two lines to the mustang.vim file for transparency

hi Normal guibg=NONE ctermbg=NONE
hi NonText ctermbg=none 

EXTRA: Check this super vim setup for C/C++ development here.

Powerlevel9k

Make sure you have installed powerline fonts. Coming soon ...

ZSH Setup

Make it your default shell

chsh -s /bin/zsh

sudo chsh -s /bin/zsh

Note:

If it can't find zsh try /usr/bin/zsh or run command $(which zsh)

Set up oh-my-zsh

via curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

colorls for beautiful colors when doing ls

You will need to install first ruby on your computer if it's not already installed More info on the arch wiki here. Then you will have to install ruby gems. You will find info on that same wiki Don't forget to add the binaries to your PATH

NOTE: the export PATH must go in your .zshrc file

And then you finally install colorls.

LightDM greeter modifications (Uses the slick-greeter)

Found in /etc/lightdm/slick-greeter.conf There you may change the wallpaper. Default backgrounds found at /usr/share/backgrounds

GoLang

Download the zip file from the website here. There you will see the instructions to add the path to the go binaries (Also change your GOPATH env variable so it doesn't create a go directory in your home directory) Something like export GOPATH=$HOME/.go, hidden is better!! :)

KDE specific configuration and other settings

work in progress

More info here sudo pacman -S plasma kde-applications

VSCODE locale problem

Add "terminal.integrated.setLocaleVariables":false to your settings.json file

{
   "files.autoSave": "onFocusChange",
    "workbench.sideBar.location": "right",
    "breadcrumbs.enabled": false,
    "window.titleBarStyle": "custom",
    "workbench.startupEditor": "newUntitledFile",
    "workbench.iconTheme": "material-icon-theme",
    "editor.mouseWheelZoom": true,
    "terminal.external.linuxExec": "urxvt",
    "editor.fontFamily": "MesloLGL Nerd Font",
    "editor.fontSize": 16,
    "terminal.integrated.fontFamily": "MesloLGL Nerd Font",
    "terminal.integrated.fontSize": 15,
    "terminal.integrated.setLocaleVariables": false,
    "editor.minimap.enabled": false,
    "editor.wordWrap": "on",
    "workbench.colorTheme": "Material Theme Darker High Contrast"
}

Releases

No releases published

Packages

No packages published