Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thor314/.setup
https://github.com/thor314/.setup
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/thor314/.setup
- Owner: thor314
- Created: 2022-08-03T23:33:56.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-26T19:54:18.000Z (12 days ago)
- Last Synced: 2024-10-27T08:58:59.561Z (11 days ago)
- Language: Shell
- Homepage:
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.md
Awesome Lists containing this project
README
# Setting up a new machine:
*self-soothing security blanket slash reminder to self about script vs syncing from snapshot*This setup script is slow and Not Fun, but does reduce reproducibility issues down the line.
This setup aims to be self-documenting, and may be interesting to others nerds who like configuring computers for fun.
See `changelog.md` for a short history of changes,
and `tool-backlog.md` for a short list of tools I'd like to try eventually.Before installing on a new machine, we need to sync an ssh key with github.
```sh
# 1. We need to create an ssh key, so that Github lets us clone this repo.
echo -e "\n\nGenerate an ssh key:"
# may have to set hostname manually!
ssh-keygen -t ed25519 -C thor- # set hostname up later, change this manually
ssh-add# 2. Install github communication and keychain CLIs. Tell github about the ssh key.
# note that apt install gh is very out of date, and we'll install the updated version later but this works fine now
sudo apt install ghecho "will open a browser and authenticate with Github."
# will tell github about our new ssh key, though the key will have a dumb name (GitHub CLI)
gh auth login
# goto github.com/settings/keys and delete that key, add it with the correct name
gh ssh-key add .ssh/id_ed25519.pub
echo "confirm our new key is listed."
gh ssh-key list# 3. Install stuff.
git clone [email protected]:thor314/.setup.git# misc convenient, do now to save some some frustration:
gsettings set org.gnome.desktop.wm.keybindings minimize "['h']"
```### afterwards: setup by hand
still to do:
- settings
- desktop - background set manually, hide minimize button
- notifications - ignore this for now, but we will have to turn these off
- power - adjust power saving options
- mouse speed up
- keyboard - keybindings - some keybindings have conflicts and need to be manually updated
- users - profile pic update
- about - update hostname if haven't already
- os upgrade - update recovery partition (takes awhile; do last)
- sign into firefox
- firefox settings search - turn off suggestions and shortcuts
- privacy - turn off autofill; turn on save passwords just to turn off suggest; then turn back off
- set up 1password
- setup hotkey tabs
- m https://mail.proton.me/u/2/inbox
- c https://calendar.google.com/calendar/u/0/r
- t https://assistant.google.com/tasks
- o https://chat.openai.com/
- g https://github.com/thor314
- w https://tweetdeck.twitter.com
- x https://x.com/messages
- p https://docs.google.com/spreadsheets/d/17u74o6Z5y6o8YGpMzJ4YLM3dF01WkwoUYblAS8wHqoM
- f https://www.facebook.com/messages/t
- r https://feedly.com/
- dark reader hotkeys alt-j, alt-k
- manage tab hotkeys update
- pin ublock, dark reader, vimium, 1password; unpin pocket
- pop shop (Ctrl-I) - update all
- Extensions - disable cosmic dock, desktop icons ng, and (desktop only) x11 gestures
- Tweaks - only used to set capslock to ctrl, which I should have already done
- sign into obsidian and sync vault
- log into 2FA websites and apps in a batch so I don't have to phone-fiddle later
- paypal, amazon, github, protonmail, twitter, google, coingecko, facebook, etsy, substack, openai, claude
- discord, slack, spotify, signal, telegram### Pending recurring issue
If issues with system keyboard not-dvorak persist:
```
# localectl list-x11-keymap-variants # see list of keymap options
sudo localectl set-x11-keymap dvorak
sudo update-initramfs -u # update initial ramdisk to apply changes at boot time
```### 2024-10-26 temporary: setup tide with jj info
```sh
fisher remove IlanCosman/tide
git clone [email protected]:ETCaton/tide.git && cd tide
git checkout jj-item
fisher install . # will be prompted to configure
cd .. && rm tide# adjust prompt items
# echo $tide_left_prompt_items # see prompt items
set -U tide_left_prompt_items pwd git jj newline character# Add .jj to the pwd markers
set -U tide_pwd_markers $tide_pwd_markers .jj
```