This configuration repo contains everything to set up my terminal from scratch in two scripts. It also has a very easy way to update your old configuration to keep it up to date.
Those are some details about my setup
- OS β’
MacOS/Arch Linux
- WM β’
yabai
- Shell β’
zsh
->powerlevel10k
- Terminal β’
kitty
- Editor β’
Neovim
- Theme β’
Nord
- Font β’
Inconsolata Nerd
- System information β’
paleofetch
- Fuzzy finder β’
fzf
- Launcher β’
skhd
andRaycast
- Terminal multiplexer β’
tmux
- Resource monitor β’
btop
(aliased to top) - Browser β’
Zen Browser
- Wallpapers β’
Fall
I mainly created this to always have my config with me, but I would really be happy if anybody wanted to try it. Furthermore I think that if I can help someone with this it is worth sharing it.
Have you already installed everything but your version lack behind ? π€
You should always keep your configuration up to date, luckily there is a straightforward and noob-proof solution.
Instruction to update
If you wish to update your current configuration to the latest updates you can just follow the simple instructions that follows.
-
You have to go to the "My-home-config" directory
cd My-home-config
-
Pull the updates from Github latest version
git pull
-
This command run the install script in update mode
./installer.sh -u
YouTube from the terminal can be watched thanks to
ytfzf
System Preferences
I'd like to load all of those preferences automatically with the default command in the future
- I also suggest to Automatically Hide & Show the Menu Bar and also set show scroll bar in all the application only when scrolling (system Preferences -> General)
- Absolutely disable wallpaper tinting in windows inside system preferences > general on macOS Big Sur
Edit you shell configurations
Shell configurations
If you want you can go to ~/.config/zsh
to edit your .zshrc
and you can uncomment lines.
You can also edit your prompt in the ~/.config/zsh/.p10k.zsh
iTerm configuration
Everything related to my iTerm
I use iTerm in minimal mode with tab bar on the bottom and border-less setting.
If you'd like to see images on iTerm you can use imgcat
.
You can also go to your iTerm preferences and import the iTerm_profile.json that you can find in the cloned directory
To have a bit of space I also suggest to add 20px of padding, set it under advanced > margin
Zen Configuration
My Zen configuration allows me to browse the web with more freedom then ever before. Furthermore use 1.1.1.1 as your DNS Server
I run zen in compact mode and use the following keybindings
Command | Description |
---|---|
Cmd - S | Sidebar |
Cmd - B | Topbar |
https://github.com/arkenfox/user.js/
I use nord theme and I changed my new tabs to black pages. And I use brave search
And use nord theme for youtube and this for whatsapp
Better file listing
I have aliased ls to
lsd
, to make it look better and have icons
If you are not interested in using it just uncommon the following line in the .zshrc file
alias ls="lsd"
My nvim confiuguration
Look into https://github.com/AstroNvim/AstroNvim
I use my custom fork of luavim
I have also added latex compiling on the fly with neotex
, and zathura
You have to be in zsh shell for this installation, if you are running an old version of macOS you might need to switch away from bash
- This is to clone the repository without old commits, and enter inside it β³
git clone https://github.com/Jac-Zac/My-home-config.git --depth=1 && cd My-home-config
- This command give execute permission to the script
chmod +x installer.sh
- Run the script. If you want to get some more information you can start by running
./installer -h
./installer.sh
You should close your terminal windows and open a new one, to reload the configurations
You can run ./install -s
to only install the command prompt configurations
Installation Completed !
You should try to keep your system up to date, also follow the instruction under the updating section
this
script to clean up any junk that has build up.ncdu
to check for big files and directory that I can deletetmate
for instant terminal sharing and pair programmingatuin
better command for history withctr-r
Moreover it is always a good measure to check if you have any malware installed by using clamav
.
sudo freshclam
If you get an error try copy the sample configuration file to a new file and comment out
Example
side the file.
sudo clamscan -r --bell -i /
I use command AKA super key (on GNU/Linux) as my main modifier
Keybind | Action |
---|---|
command + shift + enter | Spawn terminal |
command + n | Swap new windows |
command + 0 | Open Zen Browser |
command + p | Launch Raycast |
command + w | Close Window |
command + q | Close Application |
cotrol + [1-0] | Change workspace |
command + shift + [1-0] | Move focused window to workspace |
command + shift + [hjkl] | Resize client |
command + [hjkl] | Change focus by direction |
command + shift + space | Set window to floating mode |
command + shift + t | Set window in the center |
lctrl + alt + cmd + q | Restart yabai |
I'd like to slowly switch away from powerlevel10k to get a faster feeling shell, but now I will be focusing on other things but also better my configuration for M1 Mac. For the README.md I took inspiration from this repo, and for the bootstrap script I took inspiration from this repo instead.
I also have many aliases for example if you write intel
in front of any command it will run the under Rosetta. I have also started using updog to run simple https python servers.
I have added fj to move very fast.
I have just added support for other Linux distros at least to have a decent configuration.
Other possible interesting things:
https://github.com/Patato777/dotfiles
https://github.com/terroo/wallset.git
sudo nvram boot-args=-arm64e_preview_abi
Create a certificate and compile yabai to then switch it s https://www.simple-bar.com/
This is what a little showcase
Now I also have a configuration for my Raspberry pi 4 running Arch with dwm as a WM and I'm loving it so far, thus I'm thinking of posting that too in the future. I think I will do it if some asks for it
If you happen to run into some problems you can just open an issue, I'll try to solve it as soon as possible. Otherwise you can contact me by sending me an email.
Need to fix some things looking at this: https://github.com/FelixKratz/dotfiles/blob/master/.install.sh
Maybe switch to lua sketchybar
It is not been tested for a bit. Therefore feedback are appreciated