Skip to content

manawasp/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manawasp's Dotfiles

Overview

System

  • debian: linux distribution composed of free and open-source software
  • i3: dynamic tiling window manager
  • LightDM: cross-desktop display manager
  • py3status: extensible i3status wrapper written in Python

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
  • nvim: hyperextensible Vim-based text editor
  • vscode: code editor redefined and optimized for building and debugging modern web and cloud applications
  • azuredatastudio: light-weight tool for managing SQL Server, Azure SQL Database, PostgreSQL
  • spotify: audio streaming and media services provider
  • pexels.com: free stock photos, royalty free images & videos

Programming

  • docker: OS-level virtualization to deliver software in packages called containers
  • go: statically typed, compiled programming language
  • 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.

Install

$ sudo apt update && sudo apt upgrade
$ sudo apt install \
    gcc curl tree cloc xclip git ssh \
    i3 py3status feh lightdm \
    zsh fonts-noto \
    pavucontrol imagemagick vlc qiv arandr

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)
  • Powerline fonts: pre-patched and adjusted fonts for usage with the Powerline statusline plugin (prefer manual install)

Configure

Global

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

# Clean & prepare directory
$ rm -rf .alacritty.toml .spaceshiprc.zsh .zshrc .config/i3 .config/i3status

# Inject all symbolic link
$ ln -s .dotfiles/alacritty.toml .alacritty.toml && \
    ln -s .dotfiles/spaceshiprc.zsh .spaceshiprc.zsh && \
    ln -s .dotfiles/.zshrc .zshrc && \
    ln -s .dotfiles/.gitconfig .gitconfig && \
    ln -s .dotfiles/i3config .config/i3/config && \
    ln -s .dotfiles/i3status .config/i3status && \
    ln -s .dotfiles/images/background.jpg .config/i3/background.jpg && \
    ln -s .dotfiles/images/lock-background.png .config/i3/lock-background.png && \
    ln -s .dotfiles/nvim .config/nvim

# Dedicated command as it required sudo
$ sudo ln -s /home/manawasp/.dotfiles/images/inlog-background.png /etc/lightdm/inlog-background.png

zsh plugins

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

vscode

# The code editor must have been opened before
# Also I am using the insiders version
$ cd $HOME/.dotfiles/.vscode/ && cat extensions.list | grep -v '^#' | xargs -L1 code-insiders --install-extension
$ ln -s $HOME/.dotfiles/.vscode/settings.json $HOME/.config/Code\ -\ Insiders/User/settings.json

Docker

Fix docker permission denied

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

note: will need to reboot

LightDM

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

[greeter]
background=/etc/lightdm/inlog-background.png

About

my local setup, include .zshrc, .vscode, nvim, .py3status, .alacritty.toml, themes...

Topics

Resources

Stars

Watchers

Forks