Config files for my personal environment.
We only care about these packages. All of them are available on apt (Debian based distros).
- Git
- Zsh
- Curl (optional)
There's some fonts used in the configuration files.
Fira Code is important for the terminal (Kitty). It's a ligatures font and it's supported in just a few of other terminals.
Font Awesome 5 icons are used in Polybar.
.config/kitty
Alright, any terminal should work but there's only one who I like and support ligature fonts (Fira Code MUST BE INSTALLED!).
Kitty is available in apt in Ubuntu +20.04 so a simple apt-get install kitty
should work.
There's a repo full of kitty themes. Instructions are very clear: clone the repo and set a link file of the theme you like.
.zshrc
I guess zsh it's already installed but Oh-My-Zsh is missing.
Not rocket science behind all of this. Just install it and don't forget to set it as your default shell using chsh -s (which zsh)
.
Now, there's some plugins in the configuration file that may cause some errors.
Just install spaceship (theme) and autosuggestions.
Node is needed as dependency in some of the next things we're going to install.
I personally use nvm. Install it and then use nvm install --lts
.
You can install nvm whenever you want. Keep in my that if you have it already installed you won't be able to use it if your shell is zsh, so in order to make it work just follow the oh-my-zsh steps because in its configuration file (.zshrc
) there's a plugin that helps you with with that stuff.
.vimrc
Now everything is installed in order to set the configurations of vim. If there is a problem you may not have installed some dependencies (usually node or something like that).
Well, vim is available on apt so we can install it with just a simple apt-get install vim
Now we need to install vim plug in order to use some scripts/plugins and the you just enter to vim an use the :PlugInstall
command.
Even though FZF at this point might be installed, it won't work as expected if you don't also have installed the dependecies. It's easy, basically you just need to install Bat, Ag and Rg.
Clear instructions here.
If you inspect the vim config file you'll find some coc language plugins. Those plugins even though would be installed if you have already executed :PlugInstall
won't work. You must install those plugins manually as :CocInstall coc-plugin
. You better check if the coc-plugin
exists.
Those plugins are just in the vim config file for reference.
.config/rofi
Rofi is avaliable on apt, a apt-get install rofi
and that's it.
In the configuration files rofi includes just a theme.
Unfortunally, these packages aren't available on apt but there's a PPA that includes both.
Add the PPA and then just run
sudo apt-get install i3-gaps-wm polybar
If Ubuntu doesn't let you switch to i3 in the log in then just create a .desktop file in /usr/share/xsessions
[Desktop Entry] Name=i3 Comment= Exec=i3 TryExec=i3 Type=Application X-LightDM-DesktopName=i3 DesktopNames=i3 Keywords=tiling;wm;windowmanager;window;manager;