mirror of
https://github.com/Keyitdev/dotfiles.git
synced 2026-09-24 01:52:09 +00:00
12 KiB
Executable File
12 KiB
Executable File
Keyitdev Dotfiles
My personal build of dotfiles using i3. Color palette is based on OneDark color scheme. This configuration works also on dual monitors.
Showcase · Info · Dependencies · Installation · Keybinds · Colors · Troubleshooting
🌟 Showcase
More screenshots here
Watch the demo video here
🗒️ Info
| Program | Name |
|---|---|
| Window Manager | i3-gaps |
| Terminal emullator | kitty |
| Bar | polybar |
| Application launcher | rofi |
| Notifications | dunst |
| Login manger | sddm |
| Login manger theme | sddm-astronaut-theme |
| Lock screen | betterlockscreen |
| Compositor | picom |
| Shell | zsh |
| Shell theme | oh my zsh |
| Music | mpd, ncmpcpp |
| Text editor | Visual Studio Code, neovim |
| Vsc theme | One Dark Pro |
| Neovim theme | AstroVim |
| GTK theme | Dracula (ant) |
| GTK icons | Papirus |
| Discord Theme | My custom theme |
⚡ Dependencies
Packaged used
- base: base-devel wget curl git gcc make acpi light pulseaudio pulseaudio-alsa alsa-utils pacman-contrib mpc
- wm and X11: i3-gaps i3blocks i3lock-color xorg xorg-xinit xorg-server
- lockscreen: i3lock-color betterlockscreen feh imagemagick
- programs: kitty rofi dunst (with libnotify) ranger ncmpcpp mpd polybar papirus-icon-theme btop sddm zsh (with oh-my-zsh) picom cava code neovim
- screenshot script: xclip scrot ffcast slop
- emoji fonts: noto-fonts noto-fonts-emoji noto-fonts-extra noto-fonts-cjk
Fonts used
- Icons: Feather
- Main font: Open sans
- Main monospace font: Roboto mono
- Polybar: Iosevka-Nerd-Font
🛠️ Installation
I recommend manually installing packages and coping files, but if you are lazy or are a productive person who don't want to waste your time, you can try to use arch install script.
Arch manually
- Clone this dotfiles
git clone -b master --depth 1 https://www.github.com/keyitdev/dotfiles.git - Install AUR helper (for example yay in ~/.srcs)
mkdir -p ~/.srcs git clone https://aur.archlinux.org/yay.git ~/.srcs/yay (cd ~/.srcs/yay/ && makepkg -si ) - Install packages (see Dependecies)
- Make light executable
sudo chmod +s /usr/bin/light - Copy files (config folder to
$HOME/.config, scripts folder to/usr/local/binfonts to/usr/share/fonts/, wallpaper to$HOME/Pictures/wallpapersetc.) - Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - Set zsh as default shell
chsh -s /bin/zsh sudo chsh -s /bin/zsh - Install AstroVim
git clone --depth 10 https://github.com/kabinspace/AstroVim.git ~/.config/nvim nvim +PackerSync - Install gtk3 theme
git clone https://github.com/EliverLara/ant.git sudo mv ./ant /usr/share/themes - Install sddm astronaut theme
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git sudo cp -fdr sddm-astronaut-theme /usr/share/sddm/themes/ sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/ - Edit
/etc/sddm.conf[Theme] Current=sddm-astronaut-theme - Install Firefox theme
Arch with script
- Clone dotfiles
git clone -b master --depth 1 https://www.github.com/keyitdev/dotfiles.git cd dotfiles chmod +x install-on-arch.sh ./install-on-arch.sh - Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" - Set zsh as default shell
chsh -s /bin/zsh sudo chsh -s /bin/zsh - Install AstroVim
git clone --depth 10 https://github.com/kabinspace/AstroVim.git ~/.config/nvim nvim +PackerSync - Install gtk3 theme
git clone https://github.com/EliverLara/ant.git sudo mv ./ant /usr/share/themes - Install sddm astronaut theme
sudo git clone https://github.com/keyitdev/sddm-astronaut-theme.git sudo cp -fdr sddm-astronaut-theme /usr/share/sddm/themes/ sudo cp /usr/share/sddm/themes/sddm-astronaut-theme/Fonts/* /usr/share/fonts/ - Edit
/etc/sddm.conf[Theme] Current=sddm-astronaut-theme - Install Firefox theme
🛠️ Uninstallation
- Remove installed packages (see Dependecies)
- Remove AUR helper ( ~/.srcs)
- Unistall oh my zsh
uninstall_oh_my_zsh - Change shell back to bash
chsh -s /bin/bash
sudo chsh -s /bin/bash
- Remove installed fonts (~/.local/share/fonts/ or /usr/share/fonts/)
- Remove installed scripts (/usr/local/bin)
- Delete this repo
🔑 Keybinds
These are the basic keybinds. Read through the i3 config for more keybinds.
| Keybind | Function |
|---|---|
Win + Enter |
Launch terminal (kitty) |
Win + Shift + Q |
Close window |
Win + Q |
Stacking layout |
Win + W |
Tabbed layout |
Win + E |
Default layout |
Win + A |
Rofi sidebar menu |
Win + S |
Rofi compact menu |
Win + D |
Rofi center menu |
Win + Z |
Rofi bookmarks |
Win + X |
Change theme |
Win + C |
Use 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 | #21222C |
| background 2 | #282A36 |
| background 3 | #343746 |
| foreground | #F8F8F2 |
| white | #FFFFFF |
| black | #15121C |
| red | #f07178 |
| green | #c3e88d |
| yellow | #ffcb6b |
| blue | #82aaff |
| purple | #c792ea |
| cyan | #89ddff |
| pink | #ffa8c5 |
| orange | #dd864a |
⚙️ Troubleshooting
- Polybar modules not working : Try changing variables (For example in battery module from BAT1 to BAT0).
- Black flashing screen : Try changing picom config.
- Scripts not working : Maybe try to edit bang.
- Mpd not working : Check if any other program isn't using port 6600 (http://127.0.0.1:6600/).
✨ Big thanks to
These dotfiles includes some files from others rices. Original sources:
- Totoro for polybar frontend
- Adi1090x for rofi backend
- Alexander-Miller for ncmpcpp config
- Axarva for arch install script
- Ceuk for rofi screenshot script
- Milosz for rofi-bookmarks
- Unnat for wallpaper
🪪 License
Distributed under the GPLv3+ License.
