Skip to content

manawasp/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manawasp's Dotfiles

screenshot of the system setup

Overview

System

  • debian: linux distribution composed of free and open-source software.
  • LightDM: cross-desktop display manager.
  • sway: i3-compatible Wayland compositor.
  • waybar: Highly customizable Wayland bar for Sway and Wlroots based compositors.
  • tofi: Tiny dynamic menu for Wayland.

User

  • alacritty: modern terminal emulator that comes with sensible defaults, but allows for extensive configuration.
  • zsh: shell designed for interactive use, although it is also a powerful scripting language.
  • starship: minimal, blazing-fast, and infinitely customizable prompt.
  • eza: a modern replacement for ls.
  • zoxide: a smarter cd command, inspired by z and autojump.
  • fg: A simple, fast and user-friendly alternative to 'find'
  • ripgrep: recursively searches directories for a regex pattern while respecting your gitignore
  • jq: Command-line JSON processor
  • bat: cat(1) clone with syntax highlighting and Git integration.
  • zed: Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
  • nvim: hyperextensible Vim-based text editor.
  • spotify: audio streaming and media services provider.

Programming

  • docker: OS-level virtualization to deliver software in packages called containers.
  • nvm: version manager for node.js, designed to be installed per-user, and invoked per-shell.
  • python: high-level, interpreted, general-purpose programming language.
  • rust: multi-paradigm, general-purpose programming language that emphasizes performance, type safety, and concurrency.
  • go: statically typed, compiled programming language.

Install

sudo apt update && sudo apt upgrade && sudo apt install \
    gcc curl tree cloc git ssh \
    sway waybar swaylock swayidle tofi lightdm \
    zsh ripgrep fd-find fonts-noto eza tmux bat jq btop \
    slurp grim swappy imv \
    pavucontrol imagemagick vlc

Follow official website to setup:

Additional install:

  • diff so fancy: strives to make your diffs human readable instead of machine readable (prefer install in ~/.local/bin)

Configure

Global

# Go to HOME dir to execute all command
cd $HOME

# Clean & prepare directory
rm -rf .alacritty.toml .config/starship.toml .zshrc .config/sway .config/waybar .config/zed

# Inject all symbolic link
ln -s .dotfiles/alacritty/alacritty.toml .alacritty.toml && \
    ln -s .dotfiles/starship/starship.toml .config/starship.toml && \
    ln -s .dotfiles/zshrc/zshrc .zshrc && \
    ln -s .dotfiles/gitconfig/.gitconfig .gitconfig && \
    ln -s .dotfiles/sway/ .config/sway && \
    ln -s .dotfiles/waybar/ .config/waybar && \
    ln -s .dotfiles/swaylock/ .config/swaylock && \
    ln -s .dotfiles/tofi/ .config/tofi && \
    ln -s .dotfiles/zed/ .config/zed && \
    ln -s .dotfiles/nvim/ .config/nvim

Fonts

Download and unzip fonts into ~/.local/share/fonts and reload font cache fc-cache -f -v

zsh plugins

See cat ~/.zshrc header to complete zsh plugins install

Docker

Fix docker permission denied

sudo groupadd docker && \
  sudo usermod -aG docker ${USER}

note: will need to reboot

Waycolor

Small script to take a color from the current screen

ln ~/.dotfiles/scripts/waycolor ~/.local/bin/waycolor && chmod +x ~/.local/bin/waycolor

LightDM

Update /etc/lightdm/lightdm-gtk-greeter.conf:

[greeter]
background=/usr/share/pixmaps/inlog-background.png

And copy the background:

sudo cp .dotfiles/wallpaper/inlog.png /usr/share/pixmaps/inlog-background.png

About

Personal setup: zsh, nvim, sway, zed, alacritty, themes...

Topics

Resources

Stars

Watchers

Forks