X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/10f069c4acd0266ab4f46d512da30da518a99924..0435c5ffb090fc3bb8737cbe3666d0f6c5d312f7:/README.md diff --git a/README.md b/README.md index c2a3ec4..9bc6316 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,97 @@ # dotfiles -EdTheDev's Linux and Windows dot files. These are shared so that I can easily share a link to a tip or trick. +EdTheDev's Linux and Windows dot files. +These are shared so that I can easily share a link to a tip or trick. -LATEST +## Getting Started - Windows -Before Git Clone -rasppi-config -- set wireless -rasppi-config -- set keyboard location +> Note: Bookmark this guide. You're going to reboot at least a few times. -After git clone +Optional - change host name +``` +Rename-Computer -NewName FOOOOOOO -Restart +``` + +1. [Install chocolatey](https://chocolatey.org/install) + +2. Tell `choco` to watch for reboots, as this is Windows. +``` +choco feature enable -name=exitOnRebootDetected +``` + +3. Install a decent terminal. This invokes a bunch of KBs. +```powershell +choco install microsoft-windows-terminal # reboot after +``` + +3. Set dark theme (non-admin prompt) +``` +Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 +``` + +4. Reboot after first setup - you may see errors in `choco` commands otherwise. +5. Set the PC time zone correctly - otherwise expect an install error in later `choco` commands. + +4. More packages +``` +choco install git +choco install vscode +choco install powertoys # reboot after +``` + +``` +git clone https://github.com/edthedev/dotfiles.git +cd dotfiles +code . +``` + +Admin prompt: +``` +Set-ExecutionPolicy -ExecutionPolicy RemoteSigned +``` + +Install VSCode plugins: +``` +.\setup\code-plugins.ps1 +``` + +Set git username. +``` +git config --global user.email "edward@delaporte.us" +git config --global user.name "Edward Delaporte" +``` + +## Getting Started - Raspberyy Pi + +### Get Online + +```sh +rasppi-config +``` + ++ Set up wireless ++ Set keyboard location + +### Clone this repository + +```sh +sudo apt-get install git +git clone https://github.com/edthedev/dotfiles.git +``` + +### Create a new user + +```sh sudo useradd bob -m -G sudo sudo passwd bob sudo passwd pi +``` +### Boostrap CLI -## Bare Minimum - -+ `install.sh` - Script I use to install packages on Linux, most typically a Raspberry Pi. -+ `setup.sh` - Script I use to get to bare minimum (by my definition) setup on Linux - typically a Raspberry Pi. -+ `bootstrap.ps1` - Script I use to setup on Windows. Mostly relies on the `Chocolatey` package manager for Windows, of course. +``` +sudo ./install_cli_basics.sh +``` ## Installations @@ -32,3 +105,7 @@ These are, obviously, just my preferred configurations. In general, these work by setting up symlinks on Linux, and on Windows by copying a stub file that sources the versioned file. Most of these are cross platform `.ps1` files that run under PowerShell. + +## Further Reading + +See `i3.md` for info on setting up the I3 window manager.