Skip to content

Commit

Permalink
chore: Minor tweaks (#73)
Browse files Browse the repository at this point in the history
- add feature list to Readme
- adjust battery module in starship
- adjust print message in macos.sh
  • Loading branch information
martimlobao authored Dec 11, 2024
1 parent 13e8579 commit 8f405bd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ bash <(curl -sL https://dot.lobao.io) -y

### 1Password requirements

1Password is required to store secrets used by these scripts. These include:
1Password is required to store secrets used by these scripts. These include but are not limited to:

- `op user get --me` to set your git `user.name`
- `op://Private/GitHub/email` and `op://Private/GitHub/username` to configure git and push to Github
Expand All @@ -52,6 +52,18 @@ bash <(curl -sL https://dot.lobao.io) -y
- `op://Private/Charles/registered name` and `op://Private/Charles/license key` to register Charles
- SSH keys for AWS

## Features

- Symlink dotfiles from this repository to your home directory
- Install apps, fonts, and tools using Homebrew, [`uv`](https://docs.astral.sh/uv/), and the Mac App Store
- Set up straightforward Python configuration using `uv`
- Set up macOS Dock with most used apps
- Register and configure iStat Menus 6, Charles, 1Password, AWS CLI, and GitHub CLI
- TouchID for sudo
- Configure git user details
- Configure SSH client
- Configure GPG client

## Thanks and inspiration

Several people and repositories have contributed to or been a source of inspiration for this repository:
Expand Down
5 changes: 5 additions & 0 deletions linkme/.config/starship.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
# Inserts a blank line between shell prompts
add_newline = true

[battery]
full_symbol = '🔋 '
charging_symbol = '⚡️ '
discharging_symbol = '🪫 '

[directory]
truncation_length = 5
truncation_symbol = "…/"
Expand Down
2 changes: 2 additions & 0 deletions macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if [[ ! -f /etc/pam.d/sudo_local ]]; then
echo -e "🔑 \033[1;35mEnabling TouchID for sudo...\033[0m"
sudo sh -c 'echo "auth sufficient pam_tid.so" >> /etc/pam.d/sudo_local'
sudo chmod 444 /etc/pam.d/sudo_local
else
echo -e "✅ \033[1;32mTouchID for sudo is already enabled.\033[0m"
fi

confirm_set() {
Expand Down

0 comments on commit 8f405bd

Please sign in to comment.