Skip to content

Jac-Zac/My-home-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

My-home-config ⌘


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.

Configuration πŸ’»

minimal

Welcome to my configuration showcase

:octocat: Those are some details about my setup

Motivation πŸ’­

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.

Updating πŸ“†

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

Customizations πŸ”§

This setup is made for macOS, and perhaps GNU\Linux in the future

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

showcase

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

showcase

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.

showcase

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

Mappings

Command Description
Cmd - S Sidebar
Cmd - B Topbar

A possible good idea is to use:

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

showcase

Better file listing

I have aliased ls to lsd, to make it look better and have icons

showcase

If you are not interested in using it just uncommon the following line in the .zshrc file

alias ls="lsd"
My nvim confiuguration

My Skills showcase

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

Installation πŸ“

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

Step by step instructions

  1. 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

  1. This command give execute permission to the script

chmod +x installer.sh

  1. 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 !

Maintenance βš™οΈ

Routines you should implement into your mac usage

You should try to keep your system up to date, also follow the instruction under the updating section

And I also use:
  • this script to clean up any junk that has build up.
  • ncdu to check for big files and directory that I can delete
  • tmate for instant terminal sharing and pair programming
  • atuin better command for history with ctr-r

Checking for malware

Moreover it is always a good measure to check if you have any malware installed by using clamav.

To use it just run:

sudo freshclam

If you get an error try copy the sample configuration file to a new file and comment out Example side the file.

Wait for it to finish and then:

sudo clamscan -r --bell -i /

Keybinds

I use command AKA super key (on GNU/Linux) as my main modifier

Keyboard ⌨️

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

Other things πŸ“š

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/


Arch Linux

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


Problems ❌

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