huangperry / dotfiles

My personal build of dotfiles using i3.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keyitdev Dotfiles

The Arch Linux & i3wm dotfiles!

Showcase · Information · Installation · Cheat sheet · Support and Thankies

i3wm is very simple, old tiling window manager, but it is still powerful and highly configurable. Although it takes time and effort to configure it, but I'm very satisfied with the result.

This is the third version of my dotfiles, as I gain more experience I am able to create more profesional dotfiles.

However, if you want to check older version see v2 branch.

Information

Detailed information and dependencies

Info

Music Player: mpd & ncmpcpp
Editor: neovim / vscode
Lockscreen: i3lock-color
Display Manager: sddm
File manager: ranger / nemo
Pdf reader: zathura
Monitor of Resources: btop

Used themes

Shell Framework: Oh-My-Zsh
Vscode Theme: One dark pro
Neovim Theme: AstroNvim
Icons: Papirus dark
GTK Theme: Tokyo night
Display Manager Theme: Sddm-flower-theme

Fonts

Icons: Feather
Interface Font: Open sans
Monospace Font: Roboto mono
Polybar Font: Iosevka nerd font

Dependencies

Base: acpi alsa-utils base-devel curl git pulseaudio pulseaudio-alsa xorg xorg-xinit

Required: alacritty btop code dunst feh ffcast firefox i3-gaps i3lock-color i3-resurrect libnotify light mpc mpd ncmpcpp nemo neofetch neovim oh-my-zsh-git pacman-contrib papirus-icon-theme picom polybar ranger rofi scrot slop xclip zathura zathura-pdf-mupdf zsh

Sddm: qt5-graphicaleffects qt5-quickcontrols2 qt5-svg sddm

Emoji: fonts: noto-fonts noto-fonts-cjk noto-fonts-emoji noto-fonts-extra

Showcase

neofetch vsc & ncmpcpp & cava
rofi & dunst nemo & nvim & ranger
i3lock-color sddm

Installation

Using install script

Clone the repository.

git clone -b v3 --depth 1 https://www.github.com/keyitdev/dotfiles.git
cd dotfiles
chmod +x install-on-arch.sh
./install-on-arch.sh

Manual Installation

  1. Clone this repository.

    git clone -b v3 --depth 1 https://www.github.com/keyitdev/dotfiles.git
  2. Install an AUR helper (for example, yay in "$HOME"/.srcs).

    git clone https://aur.archlinux.org/yay.git "$HOME"/.srcs/yay
    cd "$HOME"/.srcs/yay/ && makepkg -si
  3. Install dependencies.

    yay -S --needed acpi alsa-utils base-devel curl git pulseaudio pulseaudio-alsa xorg xorg-xinit alacritty btop code dunst feh ffcast firefox i3-gaps i3lock-color i3-resurrect libnotify light mpc mpd ncmpcpp nemo neofetch neovim oh-my-zsh-git pacman-contrib papirus-icon-theme picom polybar ranger rofi scrot slop xclip zathura zathura-pdf-mupdf zsh   
  4. Create default directories.

    mkdir -p "$HOME"/.config
    mkdir -p  /usr/local/bin
    mkdir -p  /usr/share/themes
    mkdir -p "$HOME"/Pictures/wallpapers
  5. Copy configs, scripts, fonts, gtk theme, wallpaper, vsc configs, zsh config.

    cp -r ./config/* "$HOME"/.config
    sudo cp -r ./scripts/* /usr/local/bin
    sudo cp -r ./fonts/* /usr/share/fonts
    sudo cp -r ./tokyonight_gtk /usr/share/themes
    cp -r ./wallpapers/* "$HOME"/Pictures/wallpapers
    cp -r ./vsc/* "$HOME"/.vscode-oss/extensions
    cp ./vsc/settings.json "$HOME"/.config/Code\ -\ OSS/User
    sudo cp ./keyitdev.zsh-theme /usr/share/oh-my-zsh/custom/themes
    cp ./.zshrc "$HOME"
  6. Make Light executable, set zsh as default shell, update nvim extensions, refresh font cache.

    sudo chmod +s /usr/bin/light
    chsh -s /bin/zsh
    sudo chsh -s /bin/zsh
    nvim +PackerSync
    fc-cache -fv
  7. Install sddm flower theme.

    sudo git clone https://github.com/keyitdev/sddm-flower-theme.git /usr/share/sddm/themes/sddm-flower-theme
    sudo cp /usr/share/sddm/themes/sddm-flower-theme/Fonts/* /usr/share/fonts/
    echo "[Theme]
    Current=sddm-flower-theme" | sudo tee /etc/sddm.conf

Cheat sheet

Keybinds

These are the basic keybinds. Read through the i3 config for more keybinds.

Keybind Function
Win + Enter Launch terminal (alacritty)
Win + Shift + Q Close window
Win + Q Stacking layout
Win + W Tabbed layout
Win + E Default layout
Win + R Resize mode
Win + T Restore layout
Win + Y Save layout
Win + A Rofi open windows menu
Win + S Rofi full menu
Win + D Rofi menu
Win + Z Rofi bookmarks
Win + X Rofi powermenu
Win + C Rofi screenshot script
Win + G Gaps settings
Win + V Set vertical orientation
Win + H Set horizontal orientation
Win + I Lock screen
Win + O Show polybar
Win + P Hide polybar
Win + B Move workspace to another monitor
Win + N Dual monitor mode
Win + M Single monitor mode
Win + arrows (jkl;) Resizing, moving windows
Win + Shift + E Exit i3
Win + Shift + R Restart i3

Note: Win refers to the Super/Mod key.

Colors
Color Hex code
background #1b1b25
background 2 #282A36
background 3 #16161e
border #343746
foreground #dedede
white #eeffff
black #15121c
red #cb5760
green #999f63
yellow #d4a067
blue #6c90a8
purple #776690
cyan #528a9b
pink #ffa8c5
orange #c87c3e

Support and Thankies

You can support me simply by dropping a star on github or giving a subscription on YouTube.

Big thanks to: adi1090x, Totoro.

Thanks to all contributors! :D

Contributions

Feel free to create issue or pull request.
If you need any help, you can ask questions here on discussions or contact me on discord / reddit.

Distributed under the GPLv3+ License.
Copyright (C) 2022 Keyitdev.

About

My personal build of dotfiles using i3.

License:GNU General Public License v3.0


Languages

Language:CSS 90.4%Language:Lua 7.5%Language:Shell 1.7%Language:JavaScript 0.3%Language:HTML 0.1%