Keyitdev dotfiles

My first build of dotfiles. These dotfiles are based on modified One Dark color palette. Config include two themes (blue theme and dark).
Showcase · Info · Dependecies · Installation · Keybinds · Troubleshooting

## Showcase ![](./screenshots/blue/1.png) https://user-images.githubusercontent.com/70140437/147613962-b488c4d4-c8eb-49a8-82f9-2f0907d81b46.mp4 ### More screenshots [here](./screenshots/SCREENSHOTS.md) ## Info |Program|Name| |-|-| |**Window Manager**|[i3-gaps](https://github.com/Airblader/i3)| |**Compositor**|[picom](https://github.com/yshui/picom) |**Terminal emullator**|[kitty](https://github.com/kovidgoyal/kitty)| |**Shell**|[zsh](https://www.zsh.org/)| |**Shell theme**|[oh my zsh](https://github.com/ohmyzsh/ohmyzsh)| |**Bar**|[polybar](https://github.com/polybar/polybar)| |**Application launcher**|[rofi](https://github.com/davatorium/rofi)| |**Notifications**|[dunst](https://github.com/dunst-project/dunst)| |**Music**|[mpd](https://github.com/MusicPlayerDaemon/MPD), [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp) |**Text editor**|[Visual Studio Code](https://github.com/Microsoft/vscode), [neovim](https://github.com/neovim/neovim)| |**Vsc theme**|[One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme)| |**Neovim theme**|[NvChad](https://github.com/NvChad/NvChad) |**GTK theme**|[Dracula (ant)](https://github.com/EliverLara/ant)| |**GTK icons**|[Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme)| |**Discord Theme**|[My custom theme](https://github.com/Keyitdev/BetterDiscord-themes)| ## Dependecies ### Packaged used wget git i3-gaps i3blocks i3lock kitty zsh rofi dunst feh mpd ncmpcpp light xclip scrot picom imagemagick curl neovim ranger papirus-icon-theme pulseaudio pulseaudio-alsa pulsemixer alsa-utils xorg xorg-xinit xorg-server libnotify sddm btop acpi polybar ffcast slop pacman-contrib noto-fonts noto-fonts-emoji noto-fonts-extra noto-fonts-cjk ### Fonts used * [Feather](https://github.com/AT-UI/feather-font/blob/master/src/fonts/feather.ttf) * [Isovaka Nerd Font](https://www.nerdfonts.com/) * [Open sans](https://fonts.google.com/specimen/Open+Sans#standard-styles) * [Source Code Pro](https://fonts.google.com/specimen/Source+Code+Pro) ## Installation ### Arch 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 and commands bellow: Clone dotfiles ``` git clone https://www.github.com/keyitdev/dotfiles.git cd dotfiles chmod +x install-on-arch.sh ./install-on-arch.sh ``` Install oh my zsh ```sh sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ``` Set zsh as default shell ```sh chsh -s /bin/zsh sudo chsh -s /bin/zsh ``` Install NvChad ```sh git clone https://github.com/NvChad/NvChad.git ~/.config/nvim --depth 10 && nvim +PackerSync ``` Install gtk3 theme ```sh git clone https://github.com/EliverLara/Nordic.git sudo mv ./Nordic /usr/share/themes ``` Install Grub2 theme ```sh git clone https://github.com/vinceliuice/grub2-themes.git sudo ./grub2-themes/install.sh -b -t tela -s 1080p ``` Install sddm astronaut ```sh git clone https://github.com/totoro-ghost/sddm-astronaut.git ~/astronaut/ sudo mv ~/astronaut/ /usr/share/sddm/themes/ ``` Install Firefox theme [Blue theme](https://color.firefox.com/?theme=XQAAAAKGAQAAAAAAAABBqYhm849SCia73laEGccwS-xMDPr5iE6kjVUHIsGRvs0-q94VqJzDmLds0B4GdTFd2KORmhozpED9fKKY97YpmeSVCJcSVB9rwzacQGHhaYG0HJIDBXLbAYUnjpkVXo5LFBoIgdJ4P7MSUoS9tEpFY9l-n8P03V91Kq7BmmKKrjKq9Hi2Jvfl7wBEWz3nWVxnwd4XKskPQ2G_JFlEZFH-xMtfBJ5OSQmfzox2bvycbCOGiDW99yOqfX2u-cPiqZwcshaSPxDSqShJ5_7OhZzPbP5x-BM) [Dark theme](https://color.firefox.com/?theme=XQAAAAKGAQAAAAAAAABBqYhm849SCia73laEGccwS-xMDPr3mIJG8pMOJZrzw12iceKCk3f9y7xS8dK7VdwlKVIiKnt8eK0J1GpJZqQIU8oE5A4_yESSKDpV5ZtJvFCj2IsxGswSWbDkh9jYK2lE0V9RHJugA_ghbohSu0UU1S90WLb-LNoHwhyCwNQAsJgqCSQ5WQdurh_Vqa5BgLyf7ZT_Jw9B457EpttRRaPEDjqsJstSUPnJU6_vVsDBYpFeQsQtXk6lnamtwwdeGzOoxdtuI6gu2Ual3wcaFxeQh_xhecQ) ## Uninstallation 1. Remove installed packages (see [Dependecies](https://github.com/keyitdev/dotfiles#Dependecies)) 2. Remove AUR helper ( ~/.srcs) 3. Unistall oh my zsh ` uninstall_oh_my_zsh` 4. Change back shell to bash ``` chsh -s /bin/zsh root: sudo chsh -s /bin/zsh ``` 5. Remove installed fonts (~/.local/share/fonts/) 6. Remove installed scripts (/usr/local/bin) 7. 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 + 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 1. Polybar modules not working : Try changing variables (For example in battery module from BAT1 to BAT0). 2. Black flashing screen : Try changing picom config. 3. Scripts not working : Edit them. 4. Mpd not working : Check if any other app 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](https://github.com/totoro-ghost) for [polybar frontend](https://github.com/totoro-ghost/dotfiles/tree/master/.config/polybar) * [Adi1090x](https://github.com/adi1090x) for [rofi backend](https://github.com/adi1090x/rofi) * [Alexander-Miller](https://github.com/Alexander-Miller) for [ncmpcpp config](https://github.com/Alexander-Miller/dotfiles/blob/master/.config/ncmpcpp/config) * [Ceuk](https://github.com/ceuk/) for [rofi screenshot script](https://github.com/ceuk/rofi-screenshot) * [Axarva](https://github.com/Axarva/) for [arch install script](https://github.com/Axarva/dotfiles-2.0/blob/main/install-on-arch.sh) * [Unnat](https://github.com/UnnatShaneshwar) for [wallpaper](https://github.com/UnnatShaneshwar/OneDarkWallpapers/blob/main/11.png) * [Milosz](https://github.com/milosz) for [rofi-bookmarks](https://github.com/milosz/rofi-firefox-bookmarks) Not modified by me but used in these dotfiles * [Nvchad team](https://github.com/NvChad/NvChad#chadributors) for [Nvchad](https://github.com/NvChad/NvChad) * [EliverLara](https://github.com/EliverLara) for [gtk Dracula (ant) theme](https://github.com/EliverLara/alt) * [Vinceliuice](https://github.com/vinceliuice) for [grub2 theme](https://github.com/vinceliuice/grub2-themes) * [MarianArlt](https://github.com/MarianArlt) for [sddm theme](https://github.com/MarianArlt/sddm-sugar-dark), [Totoro](https://github.com/totoro-ghost) for [sddm theme astronaut](https://github.com/totoro-ghost/sddm-astronaut) ## License Distributed under the [GPLv3+](https://www.gnu.org/licenses/gpl-3.0.html) License.