Skip to content

ChaosAbyss/Dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

i3

  1. Refresh servers before getting started
sudo pacman -Syy
  1. Install i3
sudo pacman -S i3-gaps i3blocks i3lock i3status
  1. Install required packages
sudo pacman -S xorg xorg-xinit dmenu
  1. Reboot your machine or run startx command in your terminal to change window manager

More useful information about i3

polybar

  1. Install polybar
sudo pacman -S polybar
  1. Default polybar config
sudo cp /usr/share/doc/polybar/config ~/.config/polybar/config
sudo chown username:username .config/polybar/config
  1. Change the access permission for launch.sh
chmod +x ~/.config/polybar/launch.sh
  1. Check if you've added this to your i3 config file
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
  1. Disable i3's default bar by commenting these
bar {
    i3bar_command i3bar
}
  1. To add custom fonts to your polybar:
  • Place a folder with .otf-s and/or .ttf-s in /usr/share/fonts/ directory
  • Then place a string like this to your polybar config
font-1 = FontAwesome5Free:style=Solid:pixelsize=11:antialias=true;1

More useful information about polybar

ranger

  1. Install ranger
sudo pacman -S ranger
  1. Default ranger config
ranger --copy-config=all

ranger uses 4 main configuration files:

  • commands.py contains various functions' implementation, written in Python, used to modify ranger's behavior
  • rc.conf is used for setting various options and binding the keys to functions
  • rifle.conf decides which program to use for opening which file
  • scope.sh is a shell script used to generate the previews for various file types
    More useful information about ranger
    Official User Guide

alacritty

  1. Install alacritty
sudo pacman -S alacritty
  1. Default alacritty config
sudo cp /usr/share/doc/alacritty/example/alacritty.yml ~/.config/alacritty/alacritty.yml
sudo chown username:username .config/alacritty/alacritty.yml

More useful information about alacritty

redshift

  1. Install redshift
sudo pacman -S redshift
  1. Create a redshift.conf file in /.config/redshift/ directory

  2. Paste there a default configuration and set it manually

  3. Add this to your .xprofile

redshift &

More useful information about redshift

dunst

  1. Install dunst
sudo pacman -S dunst
  1. Default dunst config
sudo cp /usr/share/dunst/dunstrc ~/.config/dunst/dunstrc
sudo chown username:username .config/dunst/dunstrc
  1. Add this to your .xprofile
dunst &

More useful information about dunst

i3-battery-popup

  1. Clone i3-battery-popup package
git clone https://aur.archlinux.org/i3-battery-popup-git.git
  1. Change your current working directory to i3-battery-popup-git
  2. Run this command
makepkg -si
  1. Add this to your .xinitrc file to get battery popups
exec --no-startup-id i3-battery-popup -n -L 20 -l 15 -t 60s

More useful information about i3-battery-popup

Dotfiles

.Xresources

Usage: .Xresources can be used to set configuration parameters for X client applications.

  1. Add a file named .Xresources to your $HOME directory

  2. Make sure that you have this line in your .xinitrc file

userresources=$HOME/.Xresources

More useful information about .Xresources

.xprofile

Usage: .xprofile allows you to execute commands at the beginning of the X user session - before the window manager is started.

  1. Add a file named .xprofile to your $HOME directory

  2. Don't forget to put a & sign at the end of each command line

More useful information about .xprofile

.xinitrc

Usage: If no specific client program is given on the command line, xinit will look for a hidden file in the $HOME directory called .xinitrc to run as a shell script to start up client programs.

  1. Add a file named .xinitrc to your $HOME directory

  2. Add settings for your window manager, desctop environment etc. here

More useful information about .xinitrc

.zprofile

Usage: .zprofile is used for environment variables and tools configiration

  1. Add a file named .zprofile to your $HOME directory

  2. Add settings for your zsh here

More useful information about .zprofile

About

The most used and useful dotfiles of mine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published