🚯 Dotfiles
ri • cing /ry-sing/
- Making visual improvements and customization to your desktop and/or phone that can simplify your desktop environment but (generally) are completely pointless.
好看是第一生产力。
—— @SpencerWoo
macOS
iTerm2
🔺WARNING: Please upgrade iTerm2 to the latest 3.3 version in order to achieve the customizable "Minimal Titlebar" and "Status bar".
-
Color Scheme: manta.itermcolors
-
Set "Tab bar height (points) for minimal theme" to 22, under "Preference - Advanced".
-
Set "Transparency" to near "Opaque", under "Preference - Profiles - Default - Window".
Hyper
Fully customized color scheme, see _hyper_macos.js
- Shell: Oh-My-Zsh
- ZSH Themes: Powerlevel10k, Pure
🔺 NOTICE: Powerlevel10k can generate the same prompt as Pure given the right configuration options. But P10K is able to deal with large git repositories much much faster. See: romkatv/Pure style for Powerlevel10k.md
Window Manager - yabai
Yabai - a macOS Tiling WM.
Bitbar Scripts
Your custom, open source version of iStat Menu. 阅读更多:监控疫情、看天气、查汇率…… Mac 菜单栏「万能」工具箱:BitBar
Bitbar: put the output from any script or program in your macOS menu bar. Scripts I use are available at: bitbar
Colorful battery | CPU Stats |
---|---|
Windows
PowerShell
Configurations | What I use |
---|---|
Prompt theme engine | oh-my-posh |
Prompt theme | SpencerTechy.psm1 |
Font | JetBrains Mono Nerd Font |
Color theme (for Windows Terminal) | Snazzy |
Go to oh-my-posh for information on how to install. After installing, you can take a look at your oh-my-posh's profile with:
$ThemeSettings
We are looking for the directory where oh-my-posh stores all your themes. Navigate to that very directory, and put SpencerTechy.psm1 there. Now, you can enable this theme with:
Set-Theme SpencerTechy
Also, here's my PowerShell configuration profile: ps_profile.ps1 for reference. I use:
Get-ChildItemColor
for better coloredls
scoop
as Window's package manager
And I removed PowerShell's default alias of curl
via:
# Remove curl alias
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
See ps_profile.ps1 for detailed information.
Windows Terminal
❗ You cannot use colortool
to apply a theme to Windows Terminal. Instead, you'll need to manually add the theme (which is in JSON
) to Windows Terminal's configuration.
-
Dark variant - defined in Windows Terminal settings:
"theme" : "dark"
-
Windows Terminal themes: Windows Terminal Themes at iTerm Color Schemes.
For more information, see wt_profiles.json.
Linux
❗ I don't use Linux (or Manjaro) any more. I recommend using WSL on Windows. (Or just buy a Mac for god sake.)
Arch Linux WSL (for use on Windows)
Config files: _wsl_zshrc
Scripts
Handy scripts for ricing screenshots.
Neofetch
Fetch system information (with --iterm2
option to display wallpaper.)
neofetch --iterm2
Depends on imagemagick
, only works with Terminals who support displaying inline images.
Colortest - pablopunk/colortest
Quickly show all your terminal colors
curl -s https://raw.githubusercontent.com/pablopunk/colortest/master/colortest | bash
color.sh
- color.sh
Minimal script to show terminal colors.
curl -s https://raw.githubusercontent.com/spencerwooo/dotfiles/master/scripts/color.sh | bash
256 Color Test
Print out all 256 colors in your console. See: Print a 256-color test pattern in the terminal
curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash
ytop
Terminal based task manager.
GitHub: cjbassi/ytop: Another TUI based system monitor, this time in Rust!
tty-clock
Terminal based clock.
GitHub: xorg62/tty-clock
Special Thanks
License
This is published via the MIT License.
🚯 Dotfiles ©Spencer Woo. Released under the MIT License.
Authored and maintained by Spencer Woo.
@Portfolio · @Blog · @GitHub