/dotfiles

My dotfiles

Primary LanguageLua

dotfiles

Windows

Install with winget

  • Enpass
  • PowerToys
  • VSCode
  • Slack
  • Mozc Japanese Input
  • Notion
  • AutoHotKey v2
  • Everything

Install from GitHub

Taskbar

  • Update Taskbar not to show default icons.
  • Hide automatically.
  • Use the Dark theme.

Input

Appearance

  • Show accent color on window borders via Personalization > Colors > Show accent color on title bars and windows borders.
  • Disable the window animation of the Windows system via Settings > Accesibility > Animation effects.

WSL

  • Install WSL2 with wsl --install.
  • Windows Terminal
    • Theme: Dark
    • Console: Use One Half Dark
    • Font: Hack Nerd Font

Edge

  • Make the panel as simple as possible.
  • Search Engine: DuckDuckGo
    • Center Alignment: on

WSL2

Settings for Ubuntu

$ sudo apt-get update
$ sudo apt-get install -y curl zsh chromium-browser
$ chsh -s /usr/bin/zsh
$ export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

$ sudo dpkg-reconfigure locales

Settings for GitHub

$ mkdir -p -m 700 ~/.ssh
$ cat << EOF > ~/.ssh/config
Host github.com
    HostName github.com
    User git
    IdentityFile ~/.ssh/github
EOF
$ ssh-keygen -t ed25519 -P "" -f ~/.ssh/github
$ gpg --quick-gen-key "Hiroshi Muraoka <h.muraoka714@gmail.com>" ed25519 default 0
$ KEY_ID=$(gpg -k | grep -oE "[0-9A-F]{40}")
$ cat << EOF > ~/.gitconfig.local
[commit]
  gpgsign = true

[user]
  signingkey = ${KEY_ID}
EOF

Then, register both the ssh pub key and gpg pub key to GitHub.

Finally, run the install script.

$ gh auth login
$ mkdir -p ~/src/github.com/tapih && cd $_
$ git clone https://github.com/tapih/dotfiles

$ cd dotfiles
$ ./install.sh

Settings for WSL

$ sudo sh -c "cat << EOF > /etc/wsl.conf
[boot]
systemd=true
localhostForwarding=true

[wsl2]
memory=24GB
processors=8

[interop]
appendWindowsPath = true
EOF"

Docker

See the official document.