Code Monkey home page Code Monkey logo

.dotfiles's Introduction

.dotfiles

Keyboard layout

setxkbmap us altgr-intl

Swap caps lock ctrl

'XKBOPTIONS="ctrl:swapcaps"' >> /etc/default/keyboard
sudo dpkg-reconfigure keyboard-configuration
sudo reboot

ressource

Git

sudo apt -y install git-all
git config --global user.email "[email protected]"
git config --global user.name "Your Name"

ressource

SSH

ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

ressource

Zsh & Oh My Zsh

sudo apt install zsh

ressource

sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

ressource

UniMatrix

sudo curl -L https://raw.githubusercontent.com/will8211/unimatrix/master/unimatrix.py -o /usr/local/bin/unimatrix
sudo chmod a+rx /usr/local/bin/unimatrix
unimatrix --asynchronous --flashers --character-list=m --color=red

ressource

Polybar

sudo apt install polybar

ressource

Rofi

sudo apt install rofi

ressource

i3

/usr/lib/apt/apt-helper download-file https://debian.sur5r.net/i3/pool/main/s/sur5r-keyring/sur5r-keyring_2023.02.18_all.deb keyring.deb SHA256:a511ac5f10cd811f8a4ca44d665f2fa1add7a9f09bef238cdfad8461f5239cc4
sudo apt install ./keyring.deb
echo "deb http://debian.sur5r.net/i3/ $(grep '^DISTRIB_CODENAME=' /etc/lsb-release | cut -f2 -d=) universe" | sudo tee /etc/apt/sources.list.d/sur5r-i3.list
sudo apt update
sudo apt install i3 // logout & log back in once install completed

ressource

Picom

sudo apt install picom

ressource

Neofetch

sudo apt install neofetch

ressource

nmap

sudo apt install nmap

htop

sudo apt install htop

ressource

Gnome terminal profile

dconf load /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ < .material-theme-profile.dconf // restore the profile

dconf dump /org/gnome/terminal/legacy/profiles:/ // list profiles, take [profileid]
dconf dump /org/gnome/terminal/legacy/profiles:/:profileid/ > .material-theme-profile.dconf // export profile
sudo apt install compton compton-conf

ressource

feh

sudo apt install feh

Neovim

sudo apt install ninja-build gettext cmake unzip curl // install build prerequisites
git clone https://github.com/neovim/neovim
cd neovim && git checkout stable && make CMAKE_BUILD_TYPE=RelWithDebInfo
cd build && cpack -G DEB && sudo dpkg -i nvim-linux64.deb // default install location is /usr/local

ressource

Ranger

sudo apt-get install python3 libncurses5-dev libncursesw5-dev pipx
pipx run --spec ranger-fm ranger // install and run

ressource

Dotfiles

echo ".cfg" >> .gitignore
git clone --bare [email protected]:hippolyte42/.dotfiles.git $HOME/.cfg
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
config checkout // can fail: cf. back up the files if you care about them
config config --local status.showUntrackedFiles no

back up the files if you care about them

mkdir -p .config-backup && \
config checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \
xargs -I{} mv {} .config-backup/{}

ressource

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.